Posts by Charlie Custer • 13 points
2 posts
-
1
votes2
answers128
viewsQ: Help with summation
I want to write an algorithm, in JAVASCRIPT, that reads an N number and makes the sum only of even numbers var n1, n2, n3, soma; n1 = parseInt(prompt("Digite o 1º Número :")); n2 =…
-
-1
votes2
answers145
viewsQ: What I’m missing in this Form Calculating IMC in Javascript
<script type="text/javascript"> function calcula_imc(){ var altura = document.imcForm.altura.value; var peso = document.imcForm.peso.value; var quadrado =…