Write a c program that gets two inputs an integer and a


Assignment

Write a C++ program that gets two inputs an integer and a character. Use repetition control structures better known as "loops" to output an outline of a triangle shape composed of the character and the width specified by the integer. If the input is an even number, it should be increased to the next odd number. Use meaningful variable names, nested loop statements with proper indentation, appropriate comments, and good prompting messages. I have this section done but I need help with a second algorithm (source code) to be used to generate a similar outline of a triangle shape except it will be facing the other direction. Provide the user with an option to choose between the two triangle shapes.

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Write a c program that gets two inputs an integer and a
Reference No:- TGS02622478

Now Priced at $30 (50% Discount)

Recommended (96%)

Rated (4.8/5)