Math, asked by dhangarmohit908, 3 months ago

What did the author notice w
Who told the author about 1
rose extract C
wonderful old tale is told ab
th century. His last paintir​

Answers

Answered by palakgupta2395
1

Answer:

#include <stdio.h>

int main() {

double num;

printf("Enter a number: ");

scanf("%lf", &num);

if (num <= 0.0) {

if (num == 0.0)

printf("You entered 0.");

else

printf("You entered a negative number.");

} else

printf("You entered a positive number.");

return 0;

}

Similar questions