Question: Write a JavaScript code that shoes when a bus driver picks up a student from the school and sends out the estimated time of arrival
Write a JavaScript code that shoes when a bus driver picks up a student from the school and sends out the estimated time of arrival of when they will be dropping the student off at the bus stop.
This way the parent knows when to be at the bus stop to pick up there child.
For example.
Driver picks up student from school at 3pm, first bus stop is 4miles away . Estimated time of arrival is 10 min or 3:10pm
Driver picks up student from school at 3pm, they get off at 2nd bus stop which is 7 miles away . Estimated time of arrival is 15 min or 3:15pm
And so on
YOU CAN MAKE UP YOUR OWN STOPS AND DETERMINE HOW FAR AWAY EACH STOP IS AND HOW LONG IT WILL TAKE SO PLEASE DO NOT RESPOND AND SAY NEED MORE INFORMATION .
I just need AT LEAST 5 stops . I already provided 2 of them above
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
