China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-01 00:07
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » Who can help me make a program for random lottery number prediction? View 1,641 Replies 0
Original Poster Posted 2010-03-05 21:21 ·  日本 Softbank
初级用户
★★
Credits 64
Posts 57
Joined 2010-02-25 19:56
16-year member
UID 161189
Gender Male
Status Offline
Who can help me make a program for random lottery number prediction?

It needs four categories.


First type: random digits 0-9 should randomly display three digits

Second type: random digits 0-9 should randomly display four digits

Third type: random numbers 1-31 should randomly display five digits

Fourth type: random numbers 1-43 should randomly display six digits

It should have a menu.
Selecting 1 shows 3 digits; after the digits appear, you can still choose 1, 2, 3, 4, 5, 0 and a new random number will appear.
Selecting 2 shows 4 digits; after the digits appear, you can still choose 1, 2, 3, 4, 5, 0 and a new random number will appear.
Selecting 3 shows 5 digits; after the digits appear, you can still choose 1, 2, 3, 4, 5, 0 and a new random number will appear.
Selecting 4 shows 6 digits; after the digits appear, you can still choose 1, 2, 3, 4, 5, 0 and a new random number will appear.
Selecting 5 shows all the numbers from 1 to 4; after the digits appear, you can still choose 1, 2, 3, 4, 5, 0 and a new random number will appear.
Selecting 0 exits.
Forum Jump: