I completed my assignment for Week 4.
I learnt how to ask the computer for a random function. I had to include the libraries <cstlib> and <ctime>.
For the random number I used the code:
srand(time(NULL));
int secret = rand () % 100 + 1;
I also did a loop using while () and I introduced conditionals inside while.