+ 2
char x='*'
for (int i=1;i<=5;i++)
{
for (int j=0;j<i;j++){
cout<<x;
}
cout<<endl;
}
25th Jan 2019, 8:10 AM
Mensch

Often have questions like this?
Learn more efficiently, for free:
Hot today
How to add comments in courses?
1 Votes
Code challenge in sololearn
0 Votes
Learning
0 Votes
HTML Challenge
0 Votes
help in understanding java
0 Votes
Project
0 Votes