Study/code up
[codeup] 1079 : [기초-종합] 원하는 문자 입력할 때까지 반복 출력하기
1nfra
2019. 7. 23. 04:42
728x90
1 2 3 4 5 6 7 8 9 10 11 12 13 | #include <stdio.h> int main() { char a; do { scanf("%c ", &a); printf("%c\n", a); } while (a != 'q'); return 0; } | cs |
728x90