1.

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

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 youplease marked me as BRAINLIST and also follow me



Discussion

No Comment Found