728x90
반응형
문제 : https://codeup.kr/problem.php?id=1256
문제 설명
별(*)을 n개 만큼 출력한다.
#include <stdio.h>
int main(){
int i,n;
scanf("%d",&n);
for(i=1; i<=n; i++)
printf("*", i);
return 0;
}
728x90
반응형
최근댓글