Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <! 13_Ejer01.php
- Ejericio resuelto:
- Escribe un script en el que se escriba la tabla de multiplicar del 7 sin usar bucles
- Por: Lic. Sergio Hugo Sanchez O.
- Para: Universidad Matamoros
- 17, Mayo, 2009 >
- <html>
- <head>
- <title>Ejercicio 01. Tabla de Multiplicar del 7</title>
- </head>
- <body>
- <h1>Ejercicio 01. Tabla de Multiplicar del 7</h1>
- <?php
- $a = 7;
- echo "Tabla de Multiplicar del 7 ", "<br>";
- echo "7 x 1 = ", $a * 1, "<br>";
- echo "7 x 2 = ", $a * 2, "<br>";
- echo "7 x 3 = ", $a * 3, "<br>";
- echo "7 x 4 = ", $a * 4, "<br>";
- echo "7 x 5 = ", $a * 5, "<br>";
- echo "7 x 6 = ", $a * 6, "<br>";
- echo "7 x 7 = ", $a * 7, "<br>";
- echo "7 x 8 = ", $a * 8, "<br>";
- echo "7 x 9 = ", $a * 9, "<br>";
- echo "7 x 10 = ", $a * 10, "<br>";
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement