Home
User Guide
DB Recovery
Download
Documents
FAQ
Books
About Me
C Programs
Stats

/* Program# 53
   date : 28-12-2008
   Read & determine postive or negative or zero - until -1000 is given.
	
*/

#include 
main(){
int n=0;
scanf("%d ",&n); 
while(n!=-1000){
if(n>0)
printf("\npositive no:%d",n);
else
if(n<0)
printf("\nnegative no:%d",n);
else
printf("\nzero no:%d",n);
scanf("%d ",&n); 
}
}






Powered by
Open Source Programmers