Comparing Numbers


 

  1. A program to find the greatest number out of the 2 numbers inputted by the user.

 

  1. A program to find the smallest number out of the 2 numbers inputted by the user.

 

  1. A program to find the greatest number out of the 2 numbers inputted by the user, using conditional operators.

 

  1. A program to find the smallest number out of the 2 numbers inputted by the user, using conditional operators.

 

  1. A program to find the greatest number out of the 3 numbers inputted by the user.

 

  1. A program to find the smallest number out of the 3 numbers inputted by the user.

 

  1. A program to find the greatest number out of the 3 numbers inputted by the user, using conditional operators.

 

  1. A program to find the smallest number out of the 3 numbers inputted by the user, using conditional operators.

 

 


Previous:
Elementary Programs


Next:
For Loop