Start b Answered: Write a prograr Welcome Students | Maric Lab 4.29 zy 4.29. Clone of LAB: Wa X A https://learn.zybooks.com/zybook/SCOTTSDALECCCSC110JacksonSummer2020/chapter/4/section/29 = zyBooks My library > CSC 110: Introduction to Computer Science (Java) home > 4.29: Clone of LAB: Warm up: Drawing a right triangle zyBooks catalog ? Help/FAQ 8 Leonard Hobbs 4.29 Clone of LAB: Warm up: Drawing a right triangle This program will output a right triangle based on user specified height triangleHeight and symbol triangleChar. (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 triangleChar character. (2) Modify the program to use a nested loop to output a right triangle of height triangleHeight. 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 triangleHeight. Output a space after each user-specified character, including after the line's last user-specified character. (2 pts) Example output for triangleChar = % and triangleHeight = 5: Enter a character: 응 Enter triangle height: 응 응 응 응 웅 응 웅 응 응 2:10 PM O Search here 日 85 6/10/2020
Start b Answered: Write a prograr Welcome Students | Maric Lab 4.29 zy 4.29. Clone of LAB: Wa X A https://learn.zybooks.com/zybook/SCOTTSDALECCCSC110JacksonSummer2020/chapter/4/section/29 = zyBooks My library > CSC 110: Introduction to Computer Science (Java) home > 4.29: Clone of LAB: Warm up: Drawing a right triangle zyBooks catalog ? Help/FAQ 8 Leonard Hobbs 4.29 Clone of LAB: Warm up: Drawing a right triangle This program will output a right triangle based on user specified height triangleHeight and symbol triangleChar. (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 triangleChar character. (2) Modify the program to use a nested loop to output a right triangle of height triangleHeight. 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 triangleHeight. Output a space after each user-specified character, including after the line's last user-specified character. (2 pts) Example output for triangleChar = % and triangleHeight = 5: Enter a character: 응 Enter triangle height: 응 응 응 응 웅 응 웅 응 응 2:10 PM O Search here 日 85 6/10/2020
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question

Transcribed Image Text:Start
b Answered: Write a prograr
Welcome Students | Maric
Lab 4.29
zy 4.29. Clone of LAB: Wa X
A https://learn.zybooks.com/zybook/SCOTTSDALECCCSC110JacksonSummer2020/chapter/4/section/29
= zyBooks
My library > CSC 110: Introduction to Computer Science (Java) home >
4.29: Clone of LAB: Warm up: Drawing a right triangle
zyBooks catalog
? Help/FAQ 8 Leonard Hobbs
4.29 Clone of LAB: Warm up: Drawing a right triangle
This program will output a right triangle based on user specified height triangleHeight and symbol triangleChar.
(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 triangleChar character.
(2) Modify the program to use a nested loop to output a right triangle of height triangleHeight. 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 triangleHeight. Output a space after each user-specified character, including after the line's last user-specified character. (2 pts)
Example output for triangleChar = % and triangleHeight = 5:
Enter a character:
응
Enter triangle height:
응 응
응 응 웅
응 웅 응 응
2:10 PM
O Search here
日
85
6/10/2020
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images

Recommended textbooks for you

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education

Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY