prev


for loop

111.Read & Display char until $ (31.05.2010)

/*
Program# 111
date : 14-01-2009
Read & Display char until $
*/

#include <stdio.h>
main(){
char ch;

for(scanf("%c",&ch);ch!='$';scanf("%c",&ch))
printf("%c",ch);
}



next
blog comments powered by Disqus