โœ๏ธ

Sum of 1 to N

Easy๐Ÿท๏ธ Loops๐Ÿ“‚ Loops
๐Ÿงฉ The problem

TAKE N and DISPLAY the sum 1 + 2 + โ€ฆ + N.

Examples

  • Input: 5 โ†’ 15

โœ๏ธ Write your pseudocode

Press Run to watch it step by step, and Run tests to check it against every test case.

โ† All practice problems