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
Get step-by-step solutions from verified subject matter experts
