김다희

program

/*#include <iostream>
#include <vector>
#include <queue>
using namespace std;
void com(int &pointNum, int &lineNum, int &startNum, vector<vector<int> > &a);
vector<int> calcLength(int startNum, vector<vector<int> > a);
void print();
int main() {
int pointNum, lineNum, startNum;
vector< vector<int> > arr;
com(pointNum, lineNum, startNum, arr);
return 0;
}
void com(int &pointNum, int &lineNum, int &startNum, vector<vector<int> > &a) {
cin >> pointNum >> lineNum >> startNum;
for (int i = 0; i < lineNum; i++) {
for (int j = 0; j < 3; j++) {
int num;
cin >> num;
a[i].push_back(num);
}
}
}
vector<int> calcLength(int pointNum, int startNum, vector<vector<int> > a) {
vector<int> result;
for (int i = 1; i < pointNum+1; i++) {
if (i != startNum) {
result.push_back(987654321);
}
else {
result.push_back(0);
}
}
}
void print() {
}
*/
#include<iostream>
using namespace std;
int main() {
cout << "숫자를 입력해주세요";
int a;
cin >> a;
for (int i = 1; i < a+1; i++) {
for (int j = 0; j < i; j++) {
cout << "*";
}
cout << endl;
}
cout << "출력 : " << a;
return 0;
}
......