Question
Write a simple program in python that will ask the user to enter three integers, A , B , and C . Then, it should
Write a simple program in python that will ask the user to enter three integers, A , B , and C .
Then, it should use if/elif/else's to determine which of these three values is in the middle of the other two. Finally, it should display a message like "The middle value was {value here}." For example, if I enter 1, 5, and 10, it should display "The middle value was 5," no matter what order I enter those values. Embed screenshots of your code and results, showing that it works in all of these cases:
* A is the middle
* B is the middle
* C is the middle
* All three values are the same
* Some values are negative
* Some values are exactly zero
* Some values are very large
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