Prog#027: Smallest of two numbers

/* 
Program#27
Smallest of two numbers
*/

#include <stdio.h>
main(){
int a,b,c;
printf("\nEnter two integers :");
scanf("%d %d",&a,&b);
c=(a<b)?a:b;
printf("\n%d : Smallest number\n",c);
}