98-382 Web TestEngine demo

Exit VCEDump 98-382 Introduction to Programming Using JavaScript
Question 3 of 6
0% complete
Q3 Hotspot

HOTSPOT

Your instructor has asked you to write a program that uses simple rules to help determine if a person should take the train, drive their car, or ride a bike, depending on the conditions of the weather and the amount of gas in the car's tank.

The program has the following requirements: When the temperature is above 65 degrees and it is not raining, the person should be told to ride their bike.
When it is raining, the person should be told to drive their car.
If their car has half a tank of gas or less, they should be told to take the train.

How should you complete the code? To answer, select the appropriate code segments in the answer area.

Select the correct area(s) on the image.

Question diagram

Sign in to mark questions

Sign in to save marked questions and return to this demo.

Sign in