Question: In C++ please! Lab 3 (function) Problem 1. Rewrite Lab 2 Problem 1 as follows: (1) Write a function named Pyramid with one parameter, which
Lab 3 (function) Problem 1. Rewrite Lab 2 Problem 1 as follows: (1) Write a function named Pyramid with one parameter, which is the number of lines, to display a pyramid. (2) Write a main function to prompt the user to enter an integer from 1 to 15 and call function to display a pyramid, as shown in the following sample output: Enter the number of lines: 5 453342232112112212332434
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
