prev


for loop

106.Read from keyboard untill -1000 (28.05.2010)

/*
Program# 106
date : 10-01-2009
Read & display Until -1000
*/

#include <stdio.h>
main(){
int n;

for(scanf("%d",&n);n!=-1000;scanf("%d",&n))
{
printf("\n%d",n);
}
}



next
blog comments powered by Disqus