0
Why I don't have an output? Travel planner
function main() { var distance = parseInt(readLine(), 10); //tu código va aquí var tiempo = (distance*60)/40; return tiempo; }
26 Respostas
+ 3
Kgaf
Change your code like this ↓
console.log(distance/40*60);
remove return statement.
+ 1
Hi Kgaf
Try console.log(tiempo)
0
Use console.log for it not return
0
Thanks!
0
Hey! If you're heading to the UAE, do yourself a favor and get an eSIM before you land. I used this one from PrimaSIM (https://primasim.com/esim-united-arab-emirates) and it was super smooth—activated it in like 2 minutes and had solid coverage everywhere from Dubai to Abu Dhabi. No hunting for a local SIM or Wi-Fi stress. Total game changer.