nerdexam
Microsoft

98-382 · Question #40

98-382 Question #40: Real Exam Question with Answer & Explanation

Sign in or unlock 98-382 to reveal the answer and full explanation for question #40. The question stem and answer options stay visible for context.

Question

You are using JavaScript to create a function that calculates admission price. The function must meet the following requirements: ⇨ The function accepts the age of the customer as a parameter ⇨ A customer who is less than 5 years old gets in free ⇨ A customer who is 65 years old or older gets in free ⇨ A customer who is 5 years old to 17 years old, pays $10 USD ⇨ All other customers pay $20 USD How should you complete the code? To answer, select the appropriate code segments in the answer area. NOTE: Each correct selection is worth one point.

Unlock 98-382 to see the answer

You've previewed enough free 98-382 questions. Unlock 98-382 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 98-382 Practice