#include<stdio.h>
void main() {
int a, b, c;
printf(“Enter the a, b, c value / n”);
scanf(“ %d, %d, %d”, &a, &b, &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”);
}
}
}
No comments:
Post a Comment