Posted by : Waqas Javed Saturday, 17 January 2015

//Program to tell whether entered number is +ive,-ive or Zero
//main function
void main()
int x;

printf("Enter x:");

printf("The number  is Zero");
else if(x>0)
printf("The number is Positive");
else if(x<0)
printf("The number is Negative");

Leave a Reply

Subscribe to Posts | Subscribe to Comments

Popular Post

Powered by Blogger.

- Copyright © BSCS -Metrominimalist- Powered by Blogger - Designed by Johanes Djogan -