b) Develop a C++ application that will display a Pyramid with ODD/EVEN numbers a

b) Develop a C++ application that will display a Pyramid with ODD/EVEN numbers as well as display a Matrix with Natural Numbers Using Function. (3 Marks)
General Guidelines
Input:
i. User will have to choose any ONE operation(Either Pyramid
Or Matrix)
ii. Building a Pyramid has Two Options ( a. With ODD No
b. With EVEN No)
iii. To Build a Matrix will requires input as No of Rows & no of Columns.
iv. Every time System will whether the user is willing to Continue? OUTPUT
The output of the Application is shown as follows:

Leave a Reply

Your email address will not be published. Required fields are marked *