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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!