Ask Question
1 July, 23:31

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. 2 July, 00:22
    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 you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers