Posts by Marcos Dollis • 11 points
1 post
-
1
votes3
answers102
viewsA: My variables are not being counted in the code
if (numeros != 0) { quantidade++; } else if (numeros < 0) { negativos++; } else if (numeros % 2 === 0) { pares++; } else if (numeros / 2 == 1) { impares++; } as the first condition if was…