Exercise: Display a Triangle
Write code to solve the problem.
Question
Write a program that displays a triangle with height and base width .
The expected output for would be a triangle with height and a base width :
*
***
*****
*******
*********
***********
Show Hint
Exercise: Display a Triangle
Write code to solve the problem.
Question
Write a program that displays a triangle with height and base width .
The expected output for would be a triangle with height and a base width :
*
***
*****
*******
*********
***********
Show Hint