Friday, August 21, 2015

12. Computer Programming with flowcharting Technique (page 12)



Problem 7
You are requested to make a program sort the number of the largest to the smaller number is determined when the number of three-INPUT is not the same magnitude.

Solutions
Eg the number of K, L and M
Logic:
The first is the largest, followed by a smaller number and the last is the smallest.
Programming steps:
compare K with L, and the winner compare with M, the winner is the first order
Losers compare with others who also lost for a second.
The remaining sequence is the last (the smallest)

FIG.14


Sequence logic is logic that is very difficult when data amounts which will be sorted quite a lot.

DATA TEST: Sees example before all

Output

Followers

Blog Archive