Computer Science, asked by snowflake86, 8 months ago

Write a program to check whether given number is positive negative or zero?

Answers

Answered by sanjivsingh111985
14

Answer:

The program output is also shown below.

1. int number;

2. printf("Enter a number \n")

3. scanf("%d", &number);

4. if (number >= 0)

5. printf("%d is a positive number \n", number);

6. printf("%d is a negative number \n", number)

Explanation:

hope my answer help you

please marked me as brainlist and also follow me

Similar questions