<?php
for ( $i= 1; $i < 10; $i ++) {
echo " 9 * $i = " . 9*$i . PHP_EOL;
}
C:\Users\Mauri\Documents\Curso PHP\PHP\Desafios>php tabuada.php
9 * 1 = 9 9 * 2 = 18 9 * 3 = 27 9 * 4 = 36 9 * 5 = 45 9 * 6 = 54 9 * 7 = 63 9 * 8 = 72 9 * 9 = 81
<?php
for ( $i= 1; $i < 10; $i ++) {
echo " 9 * $i = " . 9*$i . PHP_EOL;
}
C:\Users\Mauri\Documents\Curso PHP\PHP\Desafios>php tabuada.php
9 * 1 = 9 9 * 2 = 18 9 * 3 = 27 9 * 4 = 36 9 * 5 = 45 9 * 6 = 54 9 * 7 = 63 9 * 8 = 72 9 * 9 = 81
Boa Felipe, é isso mesmo!