Solution :
#include<stdio.h>
#include<conio.h>
main()
{
int First_numb,Second_numb;
printf("Please Enter First Number : ");
scanf("%d",&First_numb);
printf("Please Enter Second Number : ");
scanf("%d",&Second_numb);
if(First_numb>Second_numb)
printf("First Number Is Biggest");
else
printf("Second Number Is Biggest");
getch();
}
Program Analysis :
To determine which number is biggest we can simply compare between two number by using a relational operator like ( < or > )
I solve this problem by using simple if else if decision control statement.Start practicing.
Post a Comment