prev


While-Loop

57.Read & Display char until $ is given. (02.02.2010)

/*
Program# 57
date : 28-12-2008
Read & Display char until $ is given.
*/

#include <stdio.h>
main(){
char ch;
scanf("%c ",&ch);
while(ch!='$'){
printf("\nGn char:%c",ch);
scanf("%c ",&ch);
}
}



next
blog comments powered by Disqus