Show sourcecode
The following files exists in this folder. Click to view.
ovn_gr1.php
ovn_gr2.php
ovn_gr3.php
ovn_gr4.php
ovn_gr5.php
ovn_gr6.php
ovn_gr7.php
ovn_gr4.php
29 lines ASCII Windows (CRLF)
<!DOCTYPE html>
<html>
<body>
<?php
$celsius = -20;
$i = 0;
$celarray = array();
$faharray = array();
while($celsius <= 40) {
$celarray[] = $celsius;
$faharray[] = (($celsius*9/5)+34);
$celsius += 10;
}
echo "<pre>" . print_r($celarray, true) . "</pre>";
echo "<pre>" . print_r($faharray, true) . "</pre>";
?>
</body>
</html>