Answer:
#include <stdio.h>
int main()
{
int num1, num2, num3;
printf("Enter three different numbers: ");
scanf("%d %d %d", &num1, &num2, &num3);
if (num1 > 0)
printf("%d is a positive number\\", num1);
else if (num1 < 0)
printf("%d is a negative number\\", num1);
else
printf("%d is zero\\", num1);
if (num2 > 0)
printf("%d is a positive number\\", num2);
else if (num2 < 0)
printf("%d is a negative number\\", num2);
else
printf("%d is zero\\", num2);
if (num3 > 0)
printf("%d is a positive number\\", num3);
else if (num3 < 0)
printf("%d is a negative number\\", num3);
else
printf("%d is zero\\", num3);
return 0;
}
Step-by-step explanation: