Write a program to input a number and determine whether it is positive, negative
Answers
Answered by
0
Answer:
#include<studio.h>
int main()
{
int a;
printf("enter a number");
scanf("%d",&a);
if(a>0)
printf("it is positive number");
else
printf("it is negative number");
}
Explanation:
hsndjjdxnnxksks
Similar questions