Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a html web page that using functions to display the cost of a movie ticket for a customer. The user should be prompted for

Create a html web page that using functions to display the cost of a movie ticket for a customer. The user should be prompted for the age of the customer. The output should be a message in an alert telling the user what the customers ticket will cost, based on the following criteria: Under age 5 entry is free Between ages 5 and 12 (inclusive) a childs ticket costs $5.00 Older than 12 an adult ticket costs $9.00

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

4th Edition

0805360476, 978-0805360479

More Books

Students also viewed these Databases questions

Question

Define Management or What is Management?

Answered: 1 week ago

Question

What do you understand by MBO?

Answered: 1 week ago

Question

c. What were you expected to do when you grew up?

Answered: 1 week ago