Computer Science, asked by abhisheksatijarampur, 6 months ago

write a program to accept a number from the user and display if it is a positive or negative number ​

Answers

Answered by bhaunaik52
1

Answer:

Input a number from user in some variable say num . Check if(num < 0) , then number is negative. Check if(num > 0) , then number is positive. Check if(num == 0) , then number is zero

I think it will help you

Similar questions