#include <stdio.h>
int main()
{
int a,b; //Initialization/Decleration of variable
printf("Enter two numbers \n");
//Asking for user to input any to numbers
scanf("%d%d",&a,&b);
printf("The first number entered by you is %d \n",a);
printf("The second number entered by you is %d\n",b);
if(a>b)
{
printf("The greatest number entered by you is %d",a);
}
else
{
printf("The greatest number entered by you is %d",b);
}
return 0;
}
Comments
Post a Comment