★★ Java の宿題ここで答えます Part 57 ★★
■ このスレッドは過去ログ倉庫に格納されています
0264264
2006/07/24(月) 13:17:31(Ver) J2SE JDK5.0 Update 7
(Instructions)
NewYorkLottery is your chance to win millions of dollars!
All you have to do is pick five different numbers from 1 to 50
and one MEGA number from 1 to 25 and match them to the numbers drawn.
Write a NewYorkLottery Simulator Program in modular form.
This program should utilize at least one other method outside
of main to generate these numbers.
Remember the five numbers from 1 to 50 must be different!
The MEGA number can be the same as one of the five numbers.
(Example Output)
NewYorkLottery Simulator
This Week’s Winning Numbers Are:
153972348MEGA number 21
■ このスレッドは過去ログ倉庫に格納されています