This is a very basic level javascript assignment for beginners. You shouldn't use any advanced-level coding. all you have to do is follow the instruction and only do as it asks, nothing more, and make...

1 answer below »
This is a very basic level javascript assignment for beginners. You shouldn't use any advanced-level coding. all you have to do is follow the instruction and only do as it asks, nothing more, and make it as simple as possible since it's a beginner-level class. I have attached a template along with the assignment where the code will go through. you can follow it to finish the assignment. The answer should be on a single HTML file (.html extension) containing the code required ( no CSS or others one in zip files).



Loops & Arrays Learning Objectives: This assignment is designed to practice: 1. Creating functions 2. Calling functions 2. Creating and initializing arrays 3. Creating and using loops 4. Using Number() function to ensure values are treated as numbers and not strings 6. Using concatenation to add currency or percent symbols 7. Using toFixed(2) method to round to 2 decimal places 8. Reading and understanding the use of commentsTo earn credit for this assignment: 1 You will create JavaScript code – embedded on an HTML file - according to the requirements listed on the next pages. 2 Upload and submit a single html file (.html extension) containing the code required. PROBLEM DESCRIPTION A Movie Theater company requires a program to process the box office receipts of its movie theaters. It wants a screen that allows the user to enter a movie theater name and the revenues for the last three weeks. A Process button will be used to display the total result of those revenues. In addition, a Report button will be used to generate a summarty report for all the revenues entered for the movie theaters. You are required to implement the interface required using the JavaScript programming language. The illustration below displays the GUI screen required. A template is provided to you with the basic structure of the interface. Note: Choose a background color and a text color of your preference. Inputs needed: · Theater Name: the compay names its theaters with the name of US states. · Week 1: revenues for the first week. · Week 2: revenues for the second week. · Week 3: revenues for the third week. Output to be displayed: · Total Revenue: the total for weeks 1, 2 and 3. Other Output: A Report with the grand total for all theaters (sum of the total for each theater) as well as the average revenue per theater. Requirements: Arrays: · They will be used to record the theater name, the revenues for week 1, 2 and 3 as well as the theater total. · Therefore, five arrays need to be declared inside the section of the program (the
Answered Same DayNov 03, 2021

Answer To: This is a very basic level javascript assignment for beginners. You shouldn't use any advanced-level...

Shubham Kumar answered on Nov 04 2021
110 Votes
Movie Theater Revenues
        
            Movie Theater Revenues
            all numbers in thousands
                
            Theater
Name:
                
                
            
            Week 1 Revenues: $
                
                
            
            Week 2 Revenues: $
                
                
            
            Week 3 Revenues: $
                
                
            
            
            Process
            
            Total Revenues: $...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here