#include<stdio.h>
#include<stdlib.h>
Void main()
{ Int a, b, c; printf("Enter a number of a :") ; scanf("%d", & a) ; printf("Enter a number of b : ") ; scanf(" %d", & b) ; printf(" Enter a number of C :") ; scanf("%d", & c) ; if(a>b) { if(a>c) { printf("A is greater ") ; } else { printf(" C is greater ") ; } } else { if(b>c) { printf(" B is greater ") ; } else { printf(" C is greater ") ; } }
}
|
Enter a number of a : 3 Enter a number of b :2 Enter a number of c :1 A is gretter