#include <stdio.h>
int main () {
int x,y,z;
printf("ENTER THE THREE NUMBERS\n");
scanf("%d%d%d",&x,&y,&z);
if (x<y && x<z)
{ printf("THE SMALLEST NUMBER IS %d\n",x);}
if (y<x && y<z)
{ printf("THE SMALLEST NUMBER IS %d\n",y); }
if (z<x && z<y)
{ printf("THE SMALLEST NUMBER IS %d\n",z); }
return 0;
}
No comments:
Post a Comment