..
Free
|
|||||||
|
|
|||||||
/* Program to check whether a no. is negative or positive.*/#include<stdio.h> #include<conio.h> int main() { int a; clrscr(); printf("enter value of a"); scanf("%d",&a); if(a>0) { printf("no. is positive"); } else { printf("no. is negative"); } getch(); return 0; } COPYRIGHT 2009 ALL RIGHTS RESERVED FREECPROGRAMS.COM |
|||||||