Program 5
Use a for loop to print a triangle like the one below. Allow the user to specify how high the triangle should be.
*
**
***
****
Program:
Output:
No comments:
Post a Comment