Question: Create a C++ code and a flowchart Homework Ch. 5- Pattern Display 30 points First design, then write a program that prompts the user for
Homework Ch. 5- Pattern Display 30 points First design, then write a program that prompts the user for a positive integer no greater than 12. The program should then use two nested loops to display two triangles on the screen and simultaneously writes (outputs) two triangles to a file called triangles.txt using the character. The number entered by the user will be the height and width of the triangle (at its base). Here is an example of the program's output: Enter the height of the triangle: 3d Please submit the following: 1. Your flowchart 2. Your source code, a.cpp file: 3. The program output 4. The triangles.txt file Points will be given based on the following requirements: Program Specifications/Correctness . Readability Documentation . Code Efficiency . Assignment Specifications
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
