C program to find greatest number between 2

C program to find maximum number between 2

Program:-

Method 1

C program to find maximum number between 2 using if-else statement


Method

C program to find maximum number between 2 using condition statement


Output:-

Enter 1st number
9
Enter 2nd number
82
The greatest number is 82


Output:-

Enter 1st number
75
Enter 2nd number
23
The greatest number is 75

Leave reply

Add your comments here

Back to Top