바보같이 문제도 안읽고 코딩하다보니 다른 문제를 풀었네요. 파스칼삼각형을 출력하는 코드입니다. {{{ #include using namespace std; void printArray(int *arr, int n); //각 행을 출력하는 함수 void copyArray(int *fArr, int *arr); //이전의 행을 임시저장하는 함수 int column; int main(){ cout << "출력한 파스칼삼각형의 열의 값을 입력해주세요(ex,6)."; cin >> column; if(column > 0){ int *array = new int[column]; //출력되는 행의 값 int *foreArray = new int[column]; //이전의(상위의) 행의 값 for(int i = 0; i