How would you programme a lottery program to chose 6 specific combimation of numbers | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How would you programme a lottery program to chose 6 specific combimation of numbers

lottery

2nd Jun 2018, 5:41 PM
Goodwill
Goodwill - avatar
7 Answers
+ 1
Goodwill gonna make one in js it will make 6 winners with 6 numbers for every lottery ticket expect the code in about half an hour
2nd Jun 2018, 5:50 PM
Roel
Roel - avatar
+ 1
I couldnt do it in c++ since it isnt my "native" programme language, but i made it in the two other languages i know, but maybe if you know how to make a random number in c++ you can make it yourself https://code.sololearn.com/cYTKC1RrnnXR/?ref=app https://code.sololearn.com/cdb1LnPxQH4K/?ref=app
3rd Jun 2018, 7:13 PM
Roel
Roel - avatar
2nd Jun 2018, 7:16 PM
Roel
Roel - avatar
0
thank will give it a run
3rd Jun 2018, 1:34 PM
Goodwill
Goodwill - avatar
0
do you have any code in c++
3rd Jun 2018, 1:36 PM
Goodwill
Goodwill - avatar
0
Im not that good in c++ but i will try
3rd Jun 2018, 1:51 PM
Roel
Roel - avatar