Tuesday
September 16, 2014

Homework Help: java programming

Posted by JR on Saturday, April 7, 2012 at 1:06am.

Create a program that will generate lottery numbers for the user. There are two types of numbers in the lottery, the standard numbers 1-43 and the power ball number 1-60.There are three different lottery games, a three number game, a five number game with a power ball, and a seven number game with a power ball. Ask the user for the game type and number of lottery plays that they would like to purchase. The three number games is 1 dollar per play, the five number game is 2 dollars per play and the seven number game is 3 dollars per play.After each selection show the numbers selected in sorted order (assume that the order does not matter in determining the winner).When the user is done with their plays,display the total cost of the plays purchased. I'm stuck with this question, can someone help? Thanks JR

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

programming - Create the logic for a program that prompts a user for three ...
Computers(Java Programming) - Service Class: Lottery Write a Lottery class that ...
programming - Using Raptor, create a condition loop that will ask the user for ...
Statistics - "Buy a Match 6 lottery ticket every day until you win the lottery...
Math - PLEASE HELP I DON'T KNOW WHAT TO DO D': I don't understand what to do or ...
Math - In the town of Niceville, a local lottery is held once a year for the ...
Math - In a certain lottery, five different numbers between 1 and 30 inclusive ...
math help pls! - A lottery is set up in which players pick six numbers from the ...
math help pls! - A lottery is set up in which players pick six numbers from the ...
Probability Please help!?!? - A lottery is set up in which players pick six ...

Search
Members