HERE IS THE SUMMARY:
I prompt 3 value numbers for the array, if the addition total of the arrays elements are more than 0, i need to display "el funcionamiento no es infinito" otherwise "es infinito"
its not working due i think i am not calculating all element in the array danio_Total
HERE IS THE CODE, THANKS!
var comprobarTiempoFuncionamiento = function(i) {
if (danio_Total.value > 0) {
document.write("el funcionamiento no es infinito");
} else {document.write("El tiempo de funcionamiento es infinito");}
}