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_gr1.php
16 lines ASCII Unix (LF)
<?php
$title = "ovn_gr1.php";
include "../incl/header.php";
?>
<?php
$temperatur = 32;
$celcius = 5/9 * ($temperatur - 32);
?>
<h1>Omvandla temperatur</h1>
<p>Temperatur i Fahrenheit: <?php echo $temperatur; ?> F</p>
<p>Temperatur i Celsius: <?php echo $celcius; ?> C</p>
<?php include "../incl/footer.php"; ?>