Sum of numbers

Things are getting seriously interesting… and by that I mean.. weird, this last 2 WSQ were.. a whole new level of skill, hello world is a thing from the past.

  • Now for these code you will need to know how to use while (in order to create a loop, that is an action that repeats itself), and you will also need to know that the starting point is 0 and not the frst number.
  • And also you need to know haw to create and call a function, in order to perfom the action you want, in these case a void fuction (no output), and the action is the sum of the numbers starting on 0 til from the lower bound to the upper bound.
  • here is my code, hope it helps you.

range1

CC BY 4.0 #WSQ07 by Samantha Rivera is licensed under a Creative Commons Attribution 4.0 International License.