Question: Write a program using if, else if and else statements that will sort three characters in ascending order (smallest to largest). Remember that characters are

Write a program using if, else if and else statements that will sort three characters in ascending order (smallest to largest). Remember that characters are stored in ASCII! Another way of saying this might be to put the characters in alphabetical order, but be careful of lowercase versus uppercase values, as well as handling special characters (those that are not letters, such as the dollar sign.) Ask the user to input three characters, then ultimately output the same three characters in the correct order.

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!