Computer Science, asked by shahahsan4565, 5 hours ago


Write a program to input a number and determine whether it is positive, negative

Answers

Answered by 918489885960
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