Write a program to make such a pattern like a right angle triangle with the number increased by 1. Allow the user to enter the number of rows required
The pattern should be like below if the user enters 4 rows :
1
2 3
4 5 6
7 8 9 10
Write a program to make such a pattern like a right angle triangle with the number increased by 1. Allow the user to enter the number of rows required
The pattern should be like below if the user enters 4 rows :
1
2 3
4 5 6
7 8 9 10