Question
Create a web page using a text editor. Name the file with your name and the number of the assignment. Put your name on the
Create a web page using a text editor. Name the file with your name and the number of the assignment. Put your name on the first line in camelCase. Write a JavaScript function to calculate the revenue for a movie theater. Input the number of children's tickets, the number of adult tickets and the number of senior tickets. Children's tickets are $5. Adults are $8 and seniors are $6. Calculate the cost for each type of ticket. Calculate the total cost. Display the four outputs on the page. Label the inputs and the output on your page. Change the title to "Study Hard for the Test!!".
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started