Problem Statement
Write a program that reads an integer N and prints a right-angled triangle made of asterisks (*).
Requirements
- The triangle should have
Nrows. - The first row should contain 1 asterisk.
- Each subsequent row should contain one more asterisk than the previous row.
- The last row should contain
Nasterisks.