Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

The following is a program that prints a 4level triangle.

In this assignment, you'll make ASCII art using cout statements. The following is a program that prints a 4­level triangle. This assignment has 3 steps. Iteratively add to the starter program each step. 1. Print a tree by adding a base under the 4­level triangle. * *** ***** ******* *** 2. Under the tree, print the following "cat" (have exactly three blank lines between the tree and cat). Development suggestion: Try copy­pasting one line then test. Hint: A backslash () in a string acts as an escape character, such as with a newline (n). So, if you need to print a backslash, then you need to escape that backslash by prepending another backslash, for example to print a single backslash: cout<<"\"

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question