WebServ/www/public/M2/02/index.php

22 lines
400 B
PHP
Raw Permalink Normal View History

2024-08-26 12:17:08 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2024-09-06 13:22:36 +00:00
<title>M2 | 02</title>
2024-08-26 12:17:08 +00:00
</head>
<body>
<?php
for($i = 1; $i <= 5.0; $i += 0.1) {
echo " $i, ";
}
$i = 1;
echo "<br>";
while($i <= 5.0) {
echo " $i, ";
$i += 0.1;
}
?>
</body>
</html>