//用*号打印如下
/**
*
**
**/
#include
#include <Windows.h>
using namespace std;
int main(void) {
int line; //行
cout << "请输入打印多少行:";
cin >> line;
for(int i=0; i<line; ++i) {
for(int j=0; j<=i; ++j) {
cout << "*";
}
cout << endl;
}
system("pause");
return 0;
}