WSQ07- Sum of numbers

This program should give you the sum of a specific range, that you will provide to the computer. So if you type 3 & 9, the program should return the sum of 3+4+5+6+7+8+9.

So.. Captura de pantalla 2016-02-16 a las 8.37.19

First you need to call the two integers of the range, also the result.
I did one work like this when I was in computing remedial.
In this case y & x are the range and x the result.
You keep adding +1 every time until y = z, then you stop.


The link to my GitHub is here too..


Deja una respuesta

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de

Estás comentando usando tu cuenta de Salir /  Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Salir /  Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Salir /  Cambiar )

Conectando a %s