#include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; for(int i=1;i<=n;i++){ for(int c=1;c<=i;c++){ cout<<"*"; }cout<<endl; } return 0; }
#include<bits/stdc++.h> using namespace std; int main(){ int shuru,xh,xh1; xh=1; xh1=1; cin>>shuru; for(xh;xh<=shuru;xh++) { for(xh1=1;xh1<=xh;xh1++) { cout<<"*"; } cout<<endl; } return 0; }
Using your lizikid universal account