C Program Tutorial Class-09
I hope everyone is well today I am sharing with you all through this video a program to determine whether a number is positive or negative. I have run this program and shown how to find out by displaying the result with input. You can see the program in the video, besides I have given the program in this article for your convenience, you can copy it from here and run it.
#include<stdio.h>
int main()
{
int n;
printf("Enter a number:");
scanf("%d", &n);
if(n>0)
printf("Positive Number");
else
printf("Negative Number");
return 0;
}
Actually, you won't have any problem understanding it. If you have any problem understanding it, please let me know. Thank you very much to everyone. May everyone be well. My sincere greetings and congratulations to those who visited my post.
Posted with Speem

#play
Hi Dear Friend,
Your post have been rewarded by the Speak on Steem curator team!
Now become a plus member delegating at least 500 SP
Ways to support us:
Curated by @alejos7ven