c program to find smallest number

c program to find min number

Program:-

Method 1
c program to find smallest number using if-else statement



Method
c program to find smallest number using condition operator


Output:-

Enter 1st number
25
Enter 2nd number
96
Smallest number is 25


Output:-

Enter 1st number
598
Enter 2nd number
108
Smallest number is 108

Leave reply

Add your comments here

Back to Top