Dawra bowchart to check if a number is positive or negative
Answers
Answered by
2
Answer:void main()
{
int num;
printf("Enter a number: \n");
scanf("%d", &num);
if (num > 0)
printf("%d is a positive number \n", num);
else if (num < 0)
printf("%d is a negative number \n", num);
else
printf("0 is neither positive nor
Similar questions
Political Science,
6 months ago
Geography,
6 months ago
History,
11 months ago
Social Sciences,
11 months ago
Biology,
1 year ago