// fantasy 5 number generator
#include <iostream>
#include <conio.h>
#include <ctime>
usingnamespace std;
int main()
{
constint Max_fill=5; // the requried amount of numbers must play is 5
srand(static_cast<unsignedint>(time(0)));
int Lotto_Array[Max_fill]={0}; // an array to hold 5 random generated numbers 1 -36
for(int i=0; i<Max_fill; i++)//for to initiliaze the array
{
Lotto_Array[i]=rand()%36+1;// fill the array with 5 random numbers
cout << Lotto_Array[i] << " ";
}
getch();
return 0;
}