Question: C++ for Engineers (MAC 102) Professor: Andi Toce Homework 3 Assignment Reuse the asterisk diamond program and create a function diamond (.. hakes two values,

C++ for Engineers (MAC 102) Professor: Andi Toce Homework 3 Assignment Reuse the asterisk diamond program and create a function diamond (.. hakes two values, an integer for the side of the diamond and a char value for the character printed and outputs the corresponding diamond shape. The function has default values, 5 for the side andfor the character The user can choose to use the default values or specify new values. Output Sample 1 Do you want to use the default values? (Y/N): y Output Sample 2 Do you want to use the default values? (Y/N): n Enter an integer for the side of the diamond: 3 Enter a char value for the character printed: e@@ @a@ ea@ Note: The output should look exactly as shown the example above How to submit When you are done with the C++ program copy and paste the code into a Word document. Save the file as LastName FirstName HW3.docx
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
