<meta charset="UTF-8">
<h3> Diferencia de Edades entre Hermanos </h3>
<script>
var total=0;
function saltarLinea() {
document.write("<br>");
document.write("<br>");
document.write("<br>");
}
function imprimir(frase){
document.write(frase);
saltarLinea();
}
function diferenciaEdad(edadRose,edadAndrey,total){
total=(edadRose-edadAndrey);
imprimir(" La diferencia entre las edades de Rose y Andrey es: "+ total);
}
diferenciaEdad(31,30,total);