Write a program that shows the total number of presents that the person in the song “The Twelve Days of Christmas” received on each day, as indicated in Table.
Table Twelve Days of Christmas
Day | Presents Received | Total Presents |
1 | 1 | 1 |
2 | 2 | 3 |
3 | 3 | 6 |
4 | 4 | 10 |
5 | 5 | 15 |
… | … | … |
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.