Computer Science, asked by avhi17, 1 year ago

write a program to enter two number find the greater number and print it

Answers

Answered by bandhekunal
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