Question: how do i soove these ? structed programming language Exercise 3: Sort three numbers Exercise Objectives Using simple input and output statements Using nested selection

Exercise 3: Sort three numbers Exercise Objectives Using simple input and output statements Using nested selection structures Problem Description: Add your name, your University ID number and section number as a comment in this program Displays your information properly: student name, id, section number, instructor name, and student phone number Prompts the user to input three floating point numbers, Reads the three numbers. Prompts the user to input a character that represents one of the following choices for sorting numbers: o increasing (non-decreasing) order. o decreasing (non-increasing) order. Reads in the choice (A or B) Displays your inomuon properly. Sie ham, u, SCUOI HUTID, SUULIUI name, and student phone number Prompts the user to input three floating point numbers. Reads the three numbers. Prompts the user to input a character that represents one of the following choices for sorting numbers: o increasing (non-decreasing) order. o decreasing (non-increasing) order. Reads in the choice (A or B) . If the user entered an incorrect choice, a warning message is displayed as follows: The only available choices are: Increasing (non-decreasing) order Decreasing (non-increasing) order. if the user's choice is A: The program prints the three numbers in increasing (non-decreasing) order If the user's choice is B: The program prints the three numbers in decreasing (non-increasing) order Sample output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
