Maximum and minimum of three numbers

Input :Three numbers

Output :Biggest and smallest number among three numbers

Logic :First compare any two numbers to see which is smaller and bigger between the two numbers,
And compare it with the third number to find out which is the smallest and biggest number.




Comments

Popular posts from this blog