I am trying to do a math tutor program which generates two random numbers from 1 to 50 and add them up. I have no clue as to where to start.
Any input is appreciated.
Any input is appreciated.
srand(unsigned time(0))
srand(unsigned time(0))
srand(time(0));
int result= 1+rand()%500;
int result= 1+rand()%500;
Comment