Trip planner program | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Trip planner program

I want to help in javascript trip planner program which is very basic but I’m also beginner so anybody help me?

5th Oct 2022, 4:49 PM
Ubaidullah
Ubaidullah - avatar
3 Answers
0
You need to plan a road trip. You are traveling at an average speed of 40 miles an hour. Given a distance in miles as input (the code to take input is already present), output to the console the time it will take you to cover it in minutes. so distance = userinput which is already declared in the ide minutes = distance / 40 miles * 60 minutes per hour;
5th Oct 2022, 4:57 PM
Félix Zamdamela
Félix  Zamdamela - avatar
0
It dosn’t work
5th Oct 2022, 5:22 PM
Ubaidullah
Ubaidullah - avatar
5th Oct 2022, 5:36 PM
Félix Zamdamela
Félix  Zamdamela - avatar