Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please write down the code that used in the PyCharm EDU Write a program that reads in three integers and prints ascending if they are
Please write down the code that used in the PyCharm EDU
Write a program that reads in three integers and prints "ascending" if they are sorted in ascending order, "descending" if they are sorted in descending order", or "not in order" otherwise. For example, 1. If the input is 1 6 10 your program should output ascending if the input is 10 3 1 your program should output descending if the input is 3 5 1 your program should output not in order TIP: You need to use 3 input statements to get the integers. In addition, first come up with your algorithm BEFORE you start programmingStep 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