How should you complete the code?

HOTSPOT
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.
Hot Area:

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.