November 24, 2015

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:

Related Questions

More Related Questions