Question: 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

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 programming

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!