subject

8.24 lab: warm up: drawing a right triangle this program will output a right triangle based on user specified height triangle_height and symbol triangle_char. (1) the given program outputs a fixed-height triangle using a * character. modify the given program to output a right triangle that instead uses the user-specified triangle_char character. (1 pt) (2) modify the program to use a loop to output a right triangle of height triangle_height. the first line will have one user-specified character, such as % or *. each subsequent line will have one additional user-specified character until the number in the triangle's base reaches triangle_height. output a space after each user-specified character, including a line's last user-specified character. (2 pts) example output for triangle_char = % and triangle_height = 5:

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 02:50
There’s only one game mode that stars with the letter ‘e’ in cs: go. which of the options below is it?
Answers: 1
question
Computers and Technology, 23.06.2019 03:00
State 7 common key's for every keyboard
Answers: 1
question
Computers and Technology, 23.06.2019 07:00
Why were most movies from the late 1890s until the early 1930s only filmed in black and white? there were only a few people who could afford the technology to produce color motion pictures back then. audiences did not want color motion pictures until later. the film used to make color motion pictures often overheated, which was a safety hazard, so it was generally not allowed. color films had to be hand-colored, frame by frame.
Answers: 3
question
Computers and Technology, 24.06.2019 07:30
John recently worked on a project about various programming languages. he learned that though procedural language programs are useful, they have disadvantages too. what is a disadvantage of programs written in procedural languages? a. programs do not represent data complexity. b. programs take more time to execute. c. programs are prone to security threats. d. programs do not interface with multiple platforms.
Answers: 3
You know the right answer?
8.24 lab: warm up: drawing a right triangle this program will output a right triangle based on use...
Questions
question
Arts, 22.02.2021 20:00
question
Mathematics, 22.02.2021 20:00