Write a C program to find and display greater between two numbers x and y. Where x = 12 and y = 4
Answers
Answered by
2
Answer:
#include<stdio.h>
int main()
{
int x=12,y=4;
if(x>y)
{
printf("the greater number is: %d",x);
}
else
{
printf("the greater number is: %d",y);
}
return 0;
}
Similar questions
Biology,
3 months ago
Social Sciences,
3 months ago
Science,
3 months ago
Math,
6 months ago
English,
10 months ago
Math,
10 months ago
Accountancy,
10 months ago