I'm REALLY stuck with this code, please help! I'm new to C++ and i'm trying to work on this task, but i'm lost. - The user is asked to think of a number between 1-100. The program makes a guess at the number and asks if this is the nubmer the users thought of. If the computer's guess is wrong, then it asks the user whether the number is higher than the number it guessed. The user answers and the computer then makes another guess and asks again if this is right. This process continues until either: the computer gets the answer right and prints out how many goes it took to get the answer *or* the compuer has 20 guesses and still gets it wrong, admitting that it can't solve the problem. The computer then askes the user if they want another go and either restarts the program or ends the program, depending on the users's response. Needs to include , be very simple, using if statements and simple loops, and be a win32 console app. Can anybody help me?
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.
Win32 console app.