Study/code up
[codeup] 1076 : [기초-반복실행구조] 문자 한 개 입력받아 알파벳 출력하기
1nfra
2019. 7. 23. 04:41
728x90
1 2 3 4 5 6 7 8 9 10 11 12 | #include <stdio.h> int main() { char a, b='a'; scanf("%c", &a); do { printf("%c ", b); b++; } while (b <= a); return 0; } | cs |
728x90