Вопрос из comp.lang.c++

“Hi I’m new here so I was wondering if someone could help me out with
writing a proggy in C++ to display 6 lottery numbers (1-49). Now
these numbers would have to be generated randomly then compared to each
other to see that they’re all different, because you dont get repeated
numbers in the actual lottery!!

After that is done I’d like to store these in an array and create
another array for another set of 6 lottery numbers. Comparing one set
to another set so they are uniquely different!

The aim here is to see how many combinations of 6 numbers you can get
using numbers from 1-49 !!!

I know its going to be massive but my curiosity is killing me!!

ANYONE HELP???

the styf”

link

Мир полон ИДИОТОВ (и trolls)! 🙂

Leave a comment

Your email address will not be published. Required fields are marked *