subject
Mathematics, 26.02.2020 01:30 venny23

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.

ansver
Answers: 3

Another question on Mathematics

question
Mathematics, 21.06.2019 14:00
Plz me i need i will give a brain
Answers: 1
question
Mathematics, 21.06.2019 18:00
Solve 2^x=32 and rewrite this equation in a logarithmic form
Answers: 2
question
Mathematics, 21.06.2019 22:00
Which two transformations are applied to pentagon abcde to create a'b'c'd'e'? (4 points) translated according to the rule (x, y) ? (x + 8, y + 2) and reflected across the x-axis translated according to the rule (x, y) ? (x + 2, y + 8) and reflected across the y-axis translated according to the rule (x, y) ? (x + 8, y + 2) and reflected across the y-axis translated according to the rule (x, y) ? (x + 2, y + 8) and reflected across the x-axis
Answers: 1
question
Mathematics, 21.06.2019 22:10
Which number line correctly shows 0.8 + 0.3?
Answers: 3
You know the right answer?
Assume the availability of a method named makeStars that can be passed a non-negative integer n and...
Questions
question
Mathematics, 12.03.2021 01:10
question
Mathematics, 12.03.2021 01:10
question
Mathematics, 12.03.2021 01:10
question
Biology, 12.03.2021 01:10
question
Mathematics, 12.03.2021 01:10
Questions on the website: 13722367