별그리기1 C++ - For 반복문 별그리기 ver 1.0 , ver 1.1 CPP - For 반복문 별그리기 ver 1.0 , ver 1.1 별그리기 Ver 1.0 // Make a diamond by * /* ......*...... .....***..... ....*****.... ...*******... ....*****.... .....***..... ......*...... */ #include using namespace std; void makeDiamond(int iIput); int main() { long long iInput, iCount; while (true) { cout > iInput; if (iInput % 2 == 1) { cout 2019. 4. 24. 이전 1 다음