Ask Question
20 December, 10:36

Assume the availability of a method named makeStars that can be passed a non-negative integer n and that returns a String of n asterisks. Write a method named printTriangle that receives a non-negative integer n and prints a triangle of asterisks as follows: first a line of n asterisks, followed by a line of n-1 asterisks, and then a line of n-2 asterisks, and so on.

+4
Answers (1)
  1. 20 December, 10:43
    0
    Answer:b

    Step-by-step explanation:

    b
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Assume the availability of a method named makeStars that can be passed a non-negative integer n and that returns a String of n asterisks. ...” in 📙 Mathematics if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers