Question: Can someone help its c program pls! This program will output a right tnangle based on user specified height triangleHeight and symbol triangleChat. (1) The


This program will output a right tnangle based on user specified height triangleHeight and symbol triangleChat. (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 (1 pt) (2) Modity the program to use a nested loop to outputa right triangle of height triangleHeight. The first line will have one user specified character, such as % or *. Each subsequent line will have one additional userspecified character until the number in the triangle's base teaches triangleheight. Output a space after each user-specified character, including aiter the line's last user-5pecified character. (2 pts) Example output for trianglechar =4 and triangleHeight =5 Enter, a chatacter: Fncer triangle height: 5 rogram errors displayed here Program generated too much output. output restricted to 50000 characters. Check program for any unterminated loops generating output. Program output displayed here Enter a character: Enter triangle height
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
