Type two statements that use rand()
to print 2 random integers between (and including) 100 and 149. End with a newline. Ex:
101
133
I've tried...
cout << rand() % 100 << endl;
cout << rand() % 149 << endl;
...and can't get it to work.
I'm super confused. Any help would be appreciated!