0

C++ code Pyramid Numbers posted for review.

The "triangle" on n is the sum of the integers up to n. A "pyramid" on n is the sum of the triangles, up to the triangle on n. This program finds the pyramid on n.

25th Nov 2016, 9:29 PM
Cassius Marcellus Zedaker
Cassius Marcellus Zedaker - avatar
1 Odpowiedź
0
Is it a challenge ?
4th Aug 2019, 4:49 PM
Baptiste E. Prunier
Baptiste E. Prunier - avatar