$start_num = 1;
$end_num = 10;
?>
A division table
A division table
print("");
print(" ");
for ($count_1 = $start_num;$count_1 <= $end_num;$count_1++)
print("$count_1 ");
print(" ");
for ($count_1 = $start_num;$count_1 <= $end_num;$count_1++){
print("$count_1 ");
for ($count_2 = $start_num;$count_2 <= $end_num;$count_2++){
$result = $count_1 / $count_2;
printf("%.3f ",
$result); // see Chapter 108
}
print(" \n");
}
?>