Minimum between two number by R4R Team

-Here we try to find the minimum number between two number
Example-
first number is 1
second number is 90
then 1 is minimum

program-

#include < stdio.h>
int main()
{
int a,b;
printf("Enter First number\n");
scanf("%d",&a);
printf("Enter Second number\n");
scanf("%d",&b);
if(a{
printf("%d is smaller",b);
}
}


output-

Enter First number
12
Enter Second number
1
1 is smaller

Enter First number
12
Enter Second number
45
12 is smaller

-In this program, we take a input of two integer number
-then if(a


Leave a Comment:
Search
Categories
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!