Computer Science, asked by angadsinghnijjar, 6 months ago

Write a C program to find and display greater between two numbers x and y. Where x = 12 and y = 4

Answers

Answered by saidulnayan781
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