Write C++ Program To Print A Given Triangle of STARS Using As-trick ( * )
*
* * *
* * * * *
* * * * * * *
* * * * * * * * *
Logic :-
For Printing any pattern remember always use For loop .In mostly pattern two for loops require first loop for Row and second for Column .May Be in your pattern for loop can be use parallel or Nested according to pattern you have to use
Output:
Enter How Many Row Print With Pattern
10
*
***
*****
*******
*********
***********
*************
***************
*****************
*******************
need an explanation for this answer? contact us directly to get an explanation for this answer