Posts by Luan Froehlich • 33 points
2 posts
-
0
votes4
answers430
viewsA: Print variable inside a repeat structure
Put the sum variable declaration outside the repeat loop for. double soma = 0; for (int i = 0; i < bim; i++) { System.out.println("Insira a nota do " + (i + 1) + "º Bimestre"); nota[i] =…
-
3
votes1
answer878
viewsQ: Perform function in a div scroll event
I have two Ivs, both have the same id, target1. I need to take two Divs in Javascript and apply a function in the scroll event from div1. This function will be responsible for picking up the value…