Question: Write a program to display the following triangular pattern of stars using nested loops only. Ask the user for the number of rows. This example

Write a program to display the following triangular pattern of stars using nested loops only. Ask the user for the number of rows. This example has 6 rows. (Hint- use the setw(i) where i is a variable ) Part 1. Display the tree. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Part 2. Display the tree as above together with a base. Use a separate pair of nested loops for the base. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * **** **** **** PLEASE C++ PROGRAMING

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!