Files
CKG/extern/stdcxx/4.2.1/examples/manual/out/partial_sum.out
2025-06-07 11:34:38 -04:00

9 lines
221 B
Plaintext

For the series:
1 2 3 4 5 6 7 8 9 10
The partial sums:
1 3 6 10 15 21 28 36 45 55 should each equal (N*N + N)/2
The partial products:
1 2 6 24 120 720 5040 40320 362880 3628800 should each equal N!