Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Ejercicio 4.2: Hacer un programa que sume dos variables que almacenan dos números distintos.
- <html>
- <head>
- <title>ejercicio 4.2</title>
- </head>
- <body>
- <?php
- $n1=1;
- $n2=2;
- $suma=$n1+$n2;
- echo "suma = ".$suma. "<br>";
- echo "$n1+$n2";
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement