Hello, I'm struggling with my assignments. Can someone help me to create a functions program with functions in FLOWGORITHM using DO LOOPS ? Write a program that allows the user to think of a number...


Hello, I'm struggling with my assignments. Can someone help me to create a functions program with functions inFLOWGORITHM usingDO LOOPS?


Write a program that allows the user to think of a number between 0 and 100, inclusive. Then have the program try to guess their number. Start at the midpoint (50) and ask the user if their number is (h)igher, (l)ower, or (e)qual to the guess. If they indicate lower, guess the new midpoint (25). If they indicate higher, guess the new midpoint (75). Continue efficiently guessing higher or lower until they indicate equal, then print the number of guesses required to guess their number and end the program.


Thank you in advance for your help



Jun 02, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here