- 1

Hi! One question. Somebody more have a problem with the "Coding project planning a trip" in JavaScript?

I am new. And I don't can complete this exam. Because, I can put the result in one problem, but the application need two answer for finish the exam. Somebody help? Plis

3rd Aug 2021, 2:57 PM
Lucas Rojas
Lucas Rojas - avatar
3 Answers
+ 1
You need to first get the hours from the distance: //40 miles/hour var hours = distance /40; then convert the hours to minutes. var minutes = hours*60; Finally, display the result console.log(minutes);
3rd Aug 2021, 3:03 PM
Baribor Saturday
Baribor Saturday - avatar
+ 1
Please save your attempt on SL Playground and link here.
3rd Aug 2021, 2:59 PM
JaScript
JaScript - avatar
+ 1
Think about what are the inputs and outputs of your program and what are the known constants etc. How will you take input? What processing will you do to the input data? How will you provide the output?
3rd Aug 2021, 3:05 PM
Pariket Thakur
Pariket Thakur - avatar