Calculate Sum of Natural Numbers

# Introduction In this lab, you will create a program that finds the sum of N natural numbers by taking an integer input for a variable `n`, running a loop from `1` to `n`, and calculating the sum of all numbers from `1` to `n`, which will then be printed.

|60 : 00

Click the virtual machine below to start practicing