Question
Please put this is python . Don't use max and min !!! My teacher does not want them in the program . write a computer
Please put this is python . Don't use max and min !!! My teacher does not want them in the program .
write a computer program that performs the following tasks:
1. Find the sum, average, highest number inputted and lowest number from a series of inputted numbers.
2. Determine in a minimum number of guesses a number you have picked from between 1-100.
The program should initially offer a three-item menu to the user, one for each of the above options and one to exit. If the user selects the first option, the program should accept numbers inputted singly until a CRLF(return) is entered . The program should then output the sum, average high and low of the inputted numbers, properly formatted of course. The program should then return to the original menu. If the second menu item is selected, the program should begin guessing the user's secret number. After each guess, the program should request an option to return to the main menu if desired as well. If the user attempts to fool the program with improper input, the program should inform the user and return to the main menu .
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started