let x = aleatorio(1,5); let y = aleatorio(1,5); console.log("x: " + x); console.log("y: " + y); console.log("la suma es: " + (x+y)); console.log("la resta es: " + (x-y)); console.log("la multiplicacion es: " + (x*y)); console.log("la divisiĆ³n es: " + (x/y)); console.log("la \"x\" elevado a \"y\" es: " + (x**y)); console.log("El resto entre \"x\" e \"y\" es: " + (x%y)); function aleatorio(limite_inferior, limite_superior) { return Math.round(Math.random() * (limite_superior - limite_inferior) + limite_inferior); }