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 15:00
You put the following items into your rucksack. ham 600 g cheese 380 g tomatoes 270 g how much do all the ingredients weigh in total?
Answers: 1
question
Mathematics, 21.06.2019 20:30
Find the area of the triangle formed by the origin and the points of intersection of parabolas y=−3x^2+20 and y=x^2−16.
Answers: 3
question
Mathematics, 21.06.2019 21:00
*let m∠cob = 50°30’, m∠aob = 70° and m∠aoc = 20°30’. could point c be in the interior of ∠aob? why?
Answers: 1
question
Mathematics, 21.06.2019 21:30
Look at the figure below: triangle abc is a right triangle with angle abc equal to 90 degrees. the length of ac is 5 units and the length of ab is 4 units. d is a point above c. triangle adc is a right triangle with angle dac equal to 90 degrees and dc parallel to ab. what is the length, in units, of segment cd?
Answers: 1
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, 20.01.2021 03:10
question
History, 20.01.2021 03:10
question
Mathematics, 20.01.2021 03:10
question
Chemistry, 20.01.2021 03:10
Questions on the website: 13722362