Posts by Victor Tripeno • 1 point
3 posts
-
0
votes1
answer514
viewsA: Calculate the total Sales Revenue
Dude, apparently your summation is correct, maybe the problem isn’t in the first iteration of the loop? For in the first iteration in this if if (codigoProduto.equals(p.getCodigoProduto().trim()))…
-
0
votes4
answers832
viewsA: Can I use onclick twice ?
You can simply make the two calls you need inside your onClick, so you would have both the required method along with the method that will play the sound you want, something like: <input…
-
0
votes4
answers20854
viewsA: How to order vector in descending order?
How about doing it this way? Arrays.sort(vet); int[] vetAux; int contador = 0; for(int i=vet.length - 1;i >= 0;i--) { vetAux[contador]=vet[i]; contador++; }…