Question: Exercise 1 There are 3 right-angled triangles in the pattern of stars below: Two upside down and one facing upwards. Write a program that uses
Exercise 1 There are 3 right-angled triangles in the pattern of stars below: Two upside down and one facing upwards. Write a program that uses two methods to draw the pattern of stars below. One method draws the upward facing triangle and the other method draws the bottom facing triangle. Mix up the calls to produce the desired figure. Start each line 5 tabs away from the left margin.
**********
*********
********
*******
******
*****
****
***
**
*
*
**
**
*
****
*****
******
*******
********
*********
**********
**********
*********
********
*******
******
*****
****
***
**
*
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
