Write a program to display the larger number out of the two given unequal number
Answers
Answered by
2
Answer:
#include <stdio.h>
int main()
{
int n1,n2;
printf("enter two numbers\n");
scanf("%d %d",&n1,&n2);
if(n1!=n2){
if(n1>n2)
printf("larger is %d",n1);
else
printf("larger is %d",n2);
}
return 0;
}
Explanation:
I think this will help you...
Similar questions
Political Science,
5 months ago
Environmental Sciences,
5 months ago
English,
5 months ago
Math,
11 months ago
English,
11 months ago
Chemistry,
1 year ago
Physics,
1 year ago
Math,
1 year ago