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.
TAKE N and DISPLAY the sum 1 + 2 + … + N.
Input: 5 → 15Press Run to watch it step by step, and Run tests to check it against every test case.
Ready to go on a fun coding adventure? First, tell me a little about you: