Posts by Lucas Aranha • 26 points
1 post
-
1
votes1
answer70
viewsA: Loop of repetition for
Dude, your variable is overwritten every time it goes into the loop. To be able to print the result after the iterations, you can store it in a vector, quite simply. The size will depend on what you…
canswered Lucas Aranha 26