// This file is the first assignment //Please fill the selection that are marked // *************To DO*********************** // Write your name #include // Used for cin and cout #include // Used to generate random number using rand method #include // Used to be able to use string #include // Used to reset the machine time to generate different random numbers using namespace std; // making life easier so that we do not need to use std::cin , std::cout, etc. int main() { /*Seed the random number generator*/ srand(static_cast(time(NULL))); int targetNumber = rand() % 100; // generates a random number from 0 to 99 //***To Do**** //Now increase targetNumber by 1 so that it ranges from 1 to 100 cout << "Let's play a Number Guessing Game! What is your name ?" << endl; string name; cin >> name; cout << "Hello, " << name << "! Now let us play the game! " << endl; /******************************************************** This is a Hi-Low game. A random number from 1 to 100 is generate. 1. Ask the user to guess the number. 2. If the user guess right, print bingo. The game is over. 3. If the user's guess is too high or too low, the program informs the user of that fact and asks for another guess. 4. This repeats until the user gets the number correct. **********************************************************/ // *************To DO*********************** /********* BONUS POINT********* keep track of the first three numbers that user guessed and print them out at the end Hint: You can use an array to store these 3 numbers ******************************/ return 0; }