write a program to enter two number find the greater number and print it
Answers
Answered by
0
/* C Program - Find Largest of Two Numbers */
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int a, b, big;
printf("Enter two number : ");
scanf("%d%d",&a,&b);
if(a>b)
{
big=a;
}
else
{
big=b;
}
printf("Biggest of the two number is %d",big);
getch();
}
Similar questions
Social Sciences,
7 months ago
Geography,
7 months ago
English,
1 year ago
English,
1 year ago
English,
1 year ago