Posts by Candyfull • 11 points
1 post
-
-2
votes1
answer2403
viewsQ: Code not working as expected to display Gauss Sum
I need to display the Gauss Sum (100+1=101 , 99+2 =101...). For this, I made the following code: var contador = 1 var subtracao = 0 var total var numeroMaximo = 10 // no caso o numeroMaximo é o…
javascriptasked Candyfull 11