फ्जफ़्वक्सबीएफआ फेसदनद सादहाव्
Answers
Answered by
24
Answer:
The best way of learning is to download brainly app now.
Happy Guru Nanak jayanti.
hope it helps you
Answered by
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
Math,
2 months ago
English,
2 months ago
English,
4 months ago
Math,
10 months ago
Computer Science,
10 months ago