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, 22.06.2019 12:10
1. declare a constant named cents_per_pound and initialize with 25. 2. get the shipping weight from user input storing the weight into shipweightpounds. 3. using flat_fee_cents and cents_per_pound constants, assign shipcostcents with the cost of shipping a package weighing shipweightpounds.
Answers: 2
question
Computers and Technology, 22.06.2019 13:30
Jane’s team is using the v-shaped model for their project. during the high-level design phase of the project, testers perform integration testing. what is the purpose of an integration test plan in the v-model of development? a. checks if the team has gathered all the requirements b. checks how the product interacts with external systems c. checks the flow of data in internal modules d. checks how the product works from the client side
Answers: 1
question
Computers and Technology, 22.06.2019 20:00
Awide variety of β€œ apps β€œ are available to customize devices. which category of app does the word processing software fall into?
Answers: 2
question
Computers and Technology, 23.06.2019 15:00
Barbara is interested in pursuing a career in the science and math pathway. which qualifications will her reach that goal? a.an advanced knowledge of physics and math b.an advanced knowledge of engineering and math c. an advanced knowledge of physics and robotics an d. advanced knowledge of machinery and math
Answers: 1
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
History, 28.07.2019 04:34
Questions on the website: 13722360