//C program to find Smallest of two numbers Using If Else
#include<stdio.h>
int main()
{
// Variable declaration
int a,b, small;
printf("Enter Two Numbers\n");
scanf("%d %d",&a,&b);
// Small among a and b
if(a<b)
{
small = a;
}
else
{
small = b;
}
//Display smallest number
printf("%d is smallest number",small);
return 0;
}