Answer to Question #19642 in C++ for mhamad
is the number greater than G?
is the number less than L?
is the number greater than x?
is the number greater than y?
in each case the answer would be "yes" or "no". rite a program that accepts a 4 digits number through the input, and then lets the user to find the answer for the above 4 questions then user can make up to 10 guesses. in each round , the program outputs "high", if the guess is greater and "lo"if the guess is less than the target number. if the second player finds the exact number then the program displays"bingo" message. otherwise, after 10 guesses the program gives a score from 1 to 5 according to the proximity of the final guess to the chosen number. the score would be given based on the proximity percentage.
Submit it with all requirements as an assignment to our control panel and we'll assist you.
Need a fast expert's response?Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!