Computers and Technology

Write a recursive function called DrawTriangle() that outputs lines of '*' to form a right side up isosceles triangle. Function DrawTriangle() 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.

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 24.06.2019 22:10, gabriellabadon2
In command prompt, whats a command that will list only .ini files in c: \windows\system32 directory?
Answers: 1
image
Computers and Technology, 24.06.2019 23:40, Salamonti
Which slide should you change so it reflects om all sides of your presentation
Answers: 1
image
Computers and Technology, 25.06.2019 01:40, babydolltia28
The instantiation of an endpoint in a potential tcp connection is know as
Answers: 1
image
Computers and Technology, 25.06.2019 10:00, hiji0206
Why does delete questions and i checked today and me and my friends comments were deleted so was all my questions
Answers: 2
Do you know the correct answer?
Write a recursive function called DrawTriangle() that outputs lines of '*' to form a right side up i...

Questions in other subjects:

Konu
English, 22.03.2021 08:50
Konu
Mathematics, 22.03.2021 08:50