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:
4 14 14 4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
