U E D R , A S I H C RSS

별표출력/하나조

ë‘�번째 숙제 별표ìœë ¥

형�

~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

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:29:36
Processing time 0.0043 sec