0
In javasript after module quiz 2 there is a question on trip planner and i dont understand....please help
6 ответов
+ 2
You are supposed to write a code that will take a variable input of distance, and produce an output of minutes it would take if traveling at 40 mph.
This means that your input must be flexible, and the rest of your code must be able to process that input correctly
+ 1
Kevin Kiarie yes ,you have distance as input ,now in that main function convert it output final result.
+ 1
Thanks.....Abhay .....
0
Speed is 40 miles per hour ,so 150 miles will be done in 150/40=3.75 hours which is equal to 225(3.75*60) minutes.
So what exactly you don't understand about it .
0
That i understood....its on the next slide there is the code then the result....that is the bit i didnt quite get
0
Are you supposed to write a code that will evaluate that question or??