Ask Question
11 September, 08:49

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.

+2
Answers (1)
  1. 11 September, 08:56
    0
    Answer:b

    Step-by-step explanation:

    b
Know the Answer?
Not Sure About the Answer?
Find 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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers