Recursive sum
Hard๐ท๏ธ Recursion๐ Algorithmic Thinking
๐งฉ The problem
Write a recursive FUNCTION SUM_TO(N) that returns 1 + 2 + โฆ + N. TAKE N and DISPLAY SUM_TO(N).
Examples
Input: 4 โ 10
โ๏ธ Write your pseudocode
Press Run to watch it step by step, and Run tests to check it against every test case.