Acumulativo
Ejercicio de taller de la tarde:
<script type="text/javascript">
var n=prompt("digite fruta");
if (n=="manzana")
{
document.write('<table border="1" width="100%">');
document.write('<tr><td bgcolor="#ff0000">&bspn;</td><td bgcolor="#ff0000">&bspn;</td><td bgcolor="#ff0000">&bspn;</td><td bgcolor="#ff0000">&bspn;</td><td bgcolor="#ff0000">&bspn;</td></tr><tr><td bgcolor="#ff0000">&bspn;</td><td bgcolor="#ff0000">&bspn;</td><td bgcolor="#ff0000">&bspn;</td><td bgcolor="#ff0000">&bspn;</td><td bgcolor="#ff0000">&bspn;</td></tr><tr><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td></tr><tr><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td></tr><tr><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td></tr></table>');
}
if (n=="pera") {
document.write('<table border="1" width="100%">');
document.write('<tr><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td></tr><tr><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td></tr><tr><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td></tr><tr><td bgcolor="#00ff00">&bspn;</td><td bgcolor="#00ff00">&bspn;</td><td bgcolor="#00ff00">&bspn;</td><td bgcolor="#00ff00">&bspn;</td><td bgcolor="#00ff00">&bspn;</td></tr><tr><td bgcolor="#00ff00">&bspn;</td><td bgcolor="#00ff00">&bspn;</td><td bgcolor="#00ff00">&bspn;</td><td bgcolor="#00ff00">&bspn;</td><td bgcolor="#00ff00">&bspn;</td></tr></table>');
}
if (n=="pina") {
document.write('<table border="1" width="100%">');
document.write('<tr><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td></tr><tr><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td></tr><tr><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td></tr><tr><td bgcolor="#ffff00">&bspn;</td><td bgcolor="#ffff00">&bspn;</td><td bgcolor="#ffff00">&bspn;</td><td bgcolor="#ffff00">&bspn;</td><td bgcolor="#ffff00">&bspn;</td></tr><tr><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td></tr><tr><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td></tr><tr><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td><td>&bspn;</td></tr></table>');
}
</script>
con este ejercicio correcto Materia Aprobada en 75 pero sin contrato.
No hay comentarios.:
Publicar un comentario