Ver Mensaje Individual
  #1 (permalink)  
Antiguo 28/11/2011, 06:19
edie8
 
Fecha de Ingreso: noviembre-2011
Mensajes: 516
Antigüedad: 12 años, 5 meses
Puntos: 10
sistema de notas

Buenos dias
estoy intentando hacer un sistema para meter 10 notas y que digan cuantas son iguales o mayores a 7 y cuantas menores tengo este ccodigo:
Código PHP:
<html>
<
head>
<
title>Problema</title>
</
head>
<
body>

<
script language="javascript">
var 
x=1;
var 
valor;
while (
x<=10)
{

  
valor=prompt('Ingrese valor:','');
  
valor=parseInt(valor);
    
x=x+1;
}
document.write("Aqui deberia ir el total de notas mayores a 7 y menores"<br>");

</script>

</body>
</html> 
hasta aqui se hacer pero luego nose como debo deguir. Como lo puedo hacer? gracias uun saludo.