표 ¶
형 ¶
~cpp * ** *** **** ***** 힌트: for .
¶
~cpp
#include <stdio.h>
void main(void)
{
char star='*';
int x,y;
for(x=1;x<=5;x++){
for(y=1;y<=x;y++){
printf("%c",star);
}
printf("\n");
}
return 0;
}
¶
~cpp
하 ¶
~cpp










