isn’t?
#include
using namespace std;
int main() {
int n;
int row ,col;
cin>>n;
row=1;
col=1;
while (row<=n){
cout<<endl;
while(col<=row){
cout<<"* " ;
col=col+1;
}
row=row+1;
}
return 0;
}