Question: ***In C++ This is the High Low Game, the rules are simple the computer generates a number between 1 and 100 and the user must

 ***In C++ This is the High Low Game, the rules aresimple the computer generates a number between 1 and 100 and the

***In C++

This is the High Low Game, the rules are simple the computer generates a number between 1 and 100 and the user must guess the number correctly, once the number has been guessed the program displays Bingol and ends its execution. In this labi want you to go over stuff you learned in Computer Science; don't care what I braries you use or the method in which you solve this lab assignment, I just want you to show me that you know 1. How to structure a function: In this lab you need to create a function that displays Bingo, you will decide the type of function and the way it'll work. 2. How to structure a loop: You can use any loop statement to accomplish this task, you would of course prefer an infinite loop since the user has to guess the number correctly. 3. How to structure conditional statements: Once the user enters a number the program must compare that number with the computer's random number and if the guess is lower than the target then display Too low, but if the guess is greater display Too Highl. If the guess is exactly the same as the target then use your function Bingo to display the winning message Bingo! Let's play a Number Guessing Game! What is your name? Earlos Hello, Carlos! Now let us play the game! Guess a number between 1 and 100: 50 Guess is too high! Guess a number between 1 and 100: 28 Guess is too high! GURSS a number between 1 and 108: 18 Guess is too lowl Guess a number between 1 and 100: 15 Suess is too high! Suess a number between 1 and 18: 13 Bingo Press any key to continue... Please name your file lab1FML.cpp (where 5, M. and I are the initials of your first, middle of anyl, and last names). Do not include blank spaces in the name of the file please. I will take points off if you don't follow this naming convention When done, submit your solution through Blackboard using the "Assignments tool De Nor email it The following is the basic criteria to be used to grade your submission You start with 100 points and then lose points as you don't do something that is required, -20: You had to display Bingo using a function call. -20: You had to include a loop. -20: Missing conditional statements. 10: Missing nameot enough comments 10: incorrect file name. -60 Does not compile. Important: more points may be lost for other reasons not specified here

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!