Question: Create a function that prints out a triangle of stars given a, b, and c. Start with a number of stars and continue adding c

Create a function that prints out a triangle of stars given a, b, and c. Start with "a" number of stars and continue adding "c" number of stars until you get at least "b" total number of stars.Then print them in reverse. For example, when given a=4, c=3 and b=12 you get:Create a function that prints out a triangle of stars given a,

4 14 14 4

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!