#include <stdio.h>
int
main (void)
{
/* declarations */
int a,b;
printf ("Enter value of a: ");
scanf ("%d", &a);
printf ("You entered: %d\n", a );
printf ("Enter value of b: ");
scanf ("%d", &b);
printf ("You entered: %d\n", b );
if(a > b)
{
printf("Value of a is greater than b \n");
}
else
{
printf("Value of b is greater than a \n");
}
return (0);
}
No comments:
Post a Comment