Posts by Pedro Carvalho • 1 point
1 post
-
0
votes0
answers12
viewsQ: Return the sum of all integer numbers from up to the number
i have the variableNumber = 10 and I have to return a sum of all numbers from 1 to the numberNumber, but I have no idea how to do this, someone can help? for example: numeroInteiro = 10…