/**/ #include #include int main(void) { int num1, num2, num3, num4; printf("Please enter 4 numbers separated by spaces > "); scanf("%d%d%d%d",&num1,&num2,&num3,&num4); if (num1 <= num2 && num1 <= num3 && num1 <= num4) printf("%d is the smallest\n",num1); else if (num2 <= num1 && num2 <= num3 && num2 <= num4) printf("%d is the smallest\n",num2); else if (num3 <= num1 && num3 <= num2 && num3 <= num4) printf("%d is the smallest\n",num3); else if (num4 <= num1 && num4 <= num2 && num4 <= num3) printf("%d is the smallest\n",num4); return 0; }