c/기초

정올 541 : 반복제어문2-자가진단1

phantom0219 2019. 1. 11. 14:02



My Solution


1
2
3
4
5
6
7
8
9
10
11
#include<stdio.h>
int main(void){
    char str;
    printf("문자를 입력하시오 : ");
    scanf(" %c"&str);
    int i=1;
    for(i;i<=20;i++){
        printf("%c",str);
    }
    return 0;
}
cs


반응형