Notice
Recent Posts
Recent Comments
Creative Code
star.c(계단모양 별 출력) 본문
#include <stdio.h>
int main(void)
{
for (int i = 1; i<=5; i++){
for (int j = 1; j<=i; j++){
printf("*");
}
printf("\n");
}
return 0;
}
'C Programming' 카테고리의 다른 글
star3.c(완만한 계단모양 별 출력) (0) | 2023.08.01 |
---|---|
star2.c(역계단모양 별 출력) (0) | 2023.08.01 |
scoreGrade3.c(점수별 학점분류 switch문) (0) | 2023.08.01 |
pyramid.c(별 피라미드모양으로 출력) (0) | 2023.08.01 |
printOne2Ten2.c (1에서 10까지 출력) (0) | 2023.08.01 |