Today I learned to do loops, even though it was a simple addition I didn’t know what mathematical function I needed, so I checked the code from one of my classmates: https://github.com/CarlosGallegosT/Codes007/blob/master/Sum%20of%20Numbers  ; and I realized the only thing I didn’t have was adding the previous number to the next one ( c=c+a; )

Here is my code:

https://github.com/marinaruelas/numbers/blob/master/sum

4136648237_3f871e8270_b

Numbers

Rich Bowen

Numbers

Taken on November 26, 2009

CC BY 4.0 Sum of Numbers by marinaruelas is licensed under a Creative Commons Attribution 4.0 International License.