Asked by Riana
a program to sort three values (from smallest to largest) entered from the keyboard.
Algorithm:
1. INPUT a,b and c
2. If a greater than b
If a greater than c
If b greater than c
The order is a, b, c
Else
The order is a, c, b
Else
.
.
.
How will i code this?
Algorithm:
1. INPUT a,b and c
2. If a greater than b
If a greater than c
If b greater than c
The order is a, b, c
Else
The order is a, c, b
Else
.
.
.
How will i code this?
Answers
There are no human answers yet.
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.