Levels Tought:
Elementary,Middle School,High School,College,University,PHD
Teaching Since: | May 2017 |
Last Sign in: | 307 Weeks Ago, 5 Days Ago |
Questions Answered: | 66690 |
Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
In this exercise, you will modify the guessing game program shown earlier in Figure 9-11. Follow the instructions for starting C++ and viewing the ModifyThis15.cpp file, which is contained in either the Cpp8\Chap09\ModifyThis15 Project folder or the Cpp8\Chap09 folder. (Depending on your C++ development tool, you may need to open this exercise’s project/solution file first.) Modify the program so that it allows the user only five chances to guess the number. After the fifth wrong guess, display the number on the computer screen. Test the program appropriately.
Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n.P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll