#include <stdio.h>
int main()
{
int num1,num2;
printf("enter the value of num1");
scanf("%d",&num1);
printf("enter the value of num2");
scanf("%d",&num2);
if(num1>num2){
printf("the largest number is %d",num1);
}else{
printf("the largest number is %d",num2);
}
return 0;
}
No comments:
Post a Comment