Write a C++ program that reads the number of rows R from the user and displays the shape of a number based triangle using only for loops. If R = 4 the output will be:
1
2 4 6
3 6 9 12 15
4 8 12 16 20 24 28
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
hi, can you please explain the answer? thank you