Thursday
April 17, 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 ...
java programming - write a java program using arrays function for hotel bill ...
programming - Having troube with java, i am not a regular programmer, if anybody...
java programming - could someone help me create a source code that requires you ...
programming - I am having trouble writing this program for java. can anybody ...
JAVA PROGRAMMING - "POWERS" Compute the power of a number given the base and ...
Java - create a java program that accepts students names, and test scores from a...
Programming (CSI Programming Logic and Design) - Create a program that outputs a...
programming - Using Raptor, create a condition loop that will ask the user for ...
Programming (CSI 150 Programming Logic and Design) - Create a program that ...

Search
Members