0 LIKES LikeUnLike
The following 2 code fragments displays the above pattern. I want to display this same pattern using a For loop in C++.cout<<"\t";cout<<"*";cout<<endl;cout<<"\t\b***";cout<<endl;cout<<"\t\b\b*****";cout<<endl;cout<<"\t\b\b\b*******";cout<<" * "<<endl;cout<<" *** "<<endl;cout<<" ***** "<<endl;cout<<" ******* "<<endl;cout<<" ********* "<<endl;I'm a newbie in C++. Help needed
Tags:
How to Print the
1
23
345
4567
Report (0) (0) | earlier
how to display triangle like this?
*
**
***
****
*****
Latest activity: earlier. This question has 2 answers.