To get the Solution, drop an email at [email protected]
Please feel free to send us your queries at: [email protected]
Problem Statement
Prompt the user for a character and the height of a right triangle. Then, print an upside down triangle of that height using the symbol entered. The first line of the triangle should contain i copies of the symbol. Each following line will contain 1 less character. Validate that the height entered is >0 , print a message and exit if not. Hint: Use nested loops Provide 4 valid test cases. No invalid test cases
To get the Solution, drop an email at [email protected]
Please feel free to send us your queries at: [email protected]