Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PLEASE DO THIS PROBLEM IN GEANY PROGRAM FOR C++ Rubrics that apply: Pseudo code Indention and Comments Code Structure User friendliness Output Points possible: 85

PLEASE DO THIS PROBLEM IN GEANY PROGRAM FOR C++

image text in transcribed

Rubrics that apply: Pseudo code Indention and Comments Code Structure User friendliness Output Points possible: 85 Description: You are going to write a guessing number game. You will generate a random number between 1 and 200. You will ask the user to guess the number. If the number is correct, you will display "You guessed it" and the number of guesses. If their guess is too low, you will display "Too low" and if their guess is too high, you will display "Too high". In your program, you need to keep track of the number of guesses so you can display it when they get it correct. After the user guesses the answer, you will ask them if they want to continue and have them enter 'y' to continue or anything else to end. Sample output: Guess number between 1 and 200. (Assume the number is 77 for this example.) Enter number: 101 Too high Enter number: 70 Too low Enter number: 77 You guessed it Number of guesses: 3 Enter 'y' to continue Reminder: Write pseudo code before you begin programming. You are welcome to write your program at home. If you do, be sure to compile and test it in the lab before submitting it. Be sure and name your program properly or you will get a grade of 0 on the assignment

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Current Trends In Database Technology Edbt 2006 Edbt 2006 Workshops Phd Datax Iidb Iiha Icsnw Qlqp Pim Parma And Reactivity On The Web Munich Germany March 2006 Revised Selected Papers Lncs 4254

Authors: Torsten Grust ,Hagen Hopfner ,Arantza Illarramendi ,Stefan Jablonski ,Marco Mesiti ,Sascha Muller ,Paula-Lavinia Patranjan ,Kai-Uwe Sattler ,Myra Spiliopoulou ,Jef Wijsen

2006th Edition

3540467882, 978-3540467885

More Books

Students also viewed these Databases questions

Question

What are foreign exchange rates?

Answered: 1 week ago