Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Java or C++ Create a function that prints out a triangle of stars given a, b, and c. Start with a number of stars and
Java or 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:
Also, how do I edit a question if it has no edit button? I also had someone answer another question but did not give an answer and I would like to reopen it
4 14 14 4Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started