Ejercicio en JavaScript
console.log(numbers())
function biggerNumber(a, b){
if(a > b){
return a;
}
return b;
}
function numbers(){
a = parseInt(prompt("First number"));
b = parseInt(prompt("Second number"));
c = parseInt(prompt("Third number"));
d = parseInt(prompt("Fourth number"));
return biggerNumber(biggerNumber(a, b), biggerNumber(c, d));
}