Write a program in C to accept two numbers and find greatest of two numbers.
Answers
Answered by
4
Answer:
#include <stdio.h>
int main (){
int a, b;
printf("Enter two numbers/n");
scanf("%d %d", &a, &b);
printf("/nGreater number is %d", a>b?a:b);
return 0;
}
Similar questions