Print greater number using C.


 #include<stdio.h>

#include<conio.h>

int main( )

{

int x,  y;

x=10;

y=20;

if(x>y)

{

printf("x is greater");

}

else

{

printf("y is greater);

}


To run:





Output:




Output:









No comments:

Post a Comment

theengineerschoice01@gmail.com