var x= Math.floor(Math.random() * 100); var y= Math.floor(Math.random() * 100); function suma (a,b){ return a+b; } function multiplicar(a,b){ return a*b; } function potencia(a,b){ return a**b; } function dividir(a,b){ return a/b; } function resto(a,b){ return a%b; } var x= Math.floor(Math.random() * 100); var y= Math.floor(Math.random() * 100); console.log("X es "+x+"y es "+y); var s = console.log("Suma: "+suma(x,y));