miércoles, 2 de enero de 2013

Ejercicio 5.3.php


<?php
/*
Author: Andrea Rubio Mesa
Date: 02/01/2013
Descripcion:                            
Ultima modificacion: 
*/
?>
<html>
<head><title>Operadores Aritmeticos</title></head>
<body bgcolor="#ccccff" text="000033">
<h2>Operadores Aritmeticos</h2>
<p>
<?php
 $num1 = 5;
 $num2 = 7;
 $result = $num1 + $num2;
 print "<h3>$result = $num1 + $num2 <br>";
 $result = $result + (10/2 + 5) /2;
 print "$result = 12 + (10 / 2 + 5) /2 <br></h3>";
?>
</body>
</html> 

No hay comentarios:

Publicar un comentario