Sum of First N Numbers
Easy📝 Description
Calculate sum of numbers from 1 to N
Input Format
Single integer n
Output Format
Sum of numbers from 1 to n
Constraints
1 ≤ n ≤ 10000
🔍 Sample Input
10
✅ Sample Output
55
Code Editor
Please login to run and submit code.
Results
Suggested Solution
Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run