Question: Task #2 We are developing a Delorean Test Drive game with our friend Emmett Brown. The game will be a test drive of our time

 Task #2 We are developing a Delorean Test Drive game with

Task #2 We are developing a Delorean Test Drive game with our friend Emmett Brown. The game will be a test drive of our time travel machine. The user will start with a vehicle that is stopped (0 mph). We will display to the screen that the user's current speed is Omph. We will then ask them if they want to accelerate or brake. If they accelerate, then 10mph is added to their speed. We will then ask them if they want to accelerate. We keep asking them and keep adding 10mph to their speed until they tell us to stop. Once we stop we will print out the top speed that they achieved. There is one twist to our program - if they do not stop before going more than 88 mph, the program automatically hits the breaks and lets them know that they have travelled in time. Create the program in JavaScript for this. . . Standard comments are included in your file. Submit an electronic version using the submission point located in the week 5 folder. The electronic version MUST be in html format. Any other format will NOT be accepted, and you will receive a zero mark for your assignment. You need to zip your files to avoid any error messages from the blackboard. Keep it simple - do not do more than what was asked. You may only use what we have learned in class to this point

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!