subject
SAT, 02.12.2021 01:20 amatulli

Write a recursive function called draw_triangle() that outputs lines of '*' to form a right side up isosceles triangle. Function draw_triangle() has one parameter, an integer representing the base length of the triangle. Assume the base length is always odd and less than 20. Output 9 spaces before the first '*' on the first line for correct formatting.

ansver
Answers: 1

Another question on SAT

question
SAT, 24.06.2019 04:00
Afour-year college’s application process takes into account all of the following except
Answers: 2
question
SAT, 25.06.2019 09:30
Which best describes standard precautions?
Answers: 1
question
SAT, 27.06.2019 07:30
Dna is a polymer of which consist of a sugar, a phosphate group, and a a. amino acids; nucleotide b. nucleic acids; nucleotide c. nucleotides; nitrogenous base d. nucleotides; nucleic acid e. proteins; nucleotide
Answers: 2
question
SAT, 27.06.2019 10:00
Earth takes in thermal energy from the sun in a process called . sunlight strikes earth’s surface at different angles. this angle is called the angle of . btw its
Answers: 1
You know the right answer?
Write a recursive function called draw_triangle() that outputs lines of '*' to form a right side up...
Questions
Questions on the website: 13722367