Navigation Menu

Search code, repositories, users, issues, pull requests..., provide feedback.

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly.

To see all available qualifiers, see our documentation .

  • Notifications You must be signed in to change notification settings

Homework assignment to make a movie theater database and erd. From Wednesday of week 4

benp145/movie_theater_db

Folders and files.

  • PLpgSQL 100.0%
  • High School
  • You don't have any recent items yet.
  • You don't have any courses yet.
  • You don't have any books yet.
  • You don't have any Studylists yet.
  • Information

CSC 130 Homework 1

Visual basic programming (com) (csc 130 ), south dakota state university, students also viewed.

  • Chapter 14 - Strings Notes
  • CSC 130 - Introduction Notes
  • Chapter 12 - Decision Structures Notes
  • Chapter 16 - Arrays Notes
  • Chapter 13 - Repetition Structures Notes
  • Chapters 4-7 Notes

Related documents

  • Chapter 11 - Operators Notes
  • Chapter 21 - Exception Handling Notes
  • Chapter 9 - Statements Notes
  • Chapter 22 - Files Notes
  • Chapter 17 - Collections Notes
  • Example Program 6

Preview text

Theater revenue.

A movie theater keeps only a percentage of the revenue earned from ticket sales. The remainder goes to the movie company. Create an application that calculates and displays the following figures for one night’s box office business:  Gross revenue for adult tickets sold. This is the amount of money taken in for all adult tickets sold  Net revenue for adult tickets sold. This is the amount of money from adult ticket sales left over after the payment to the movie company has been deducted.  Gross revenue for child tickets sold. This is the amount of money taken in for all child tickets sold.  Net revenue for child tickets sold. This is the amount of money from child ticket sales left over after the payment to the movie company has been deducted.  Total gross revenue. This is the sum of gross revenue for adult and child tickets sold.  Total net revenue. This is the sum of net revenue for adult and child tickets sold.

Assume the theater keeps 20% of its box office receipts. Use the following test data to determine if the application is calculating properly:

Ticket Sales Revenue

Price per Adult Ticket: $6. 0 Gross Adult Ticket Sales: $720.

Adult Tickets Sold: 120

Price per Child Ticket: $4. 0 Gross Child Ticket Sales: $288.

Child Tickets Sold: 72

Total Gross Revenue: $1,008. 0

Net Adult Ticket Sales: $144.

Net Child Ticket Sales: $57.

Total Net Revenue: $201.

Assignment requirements:  A comment header  Comments throughout the code  Declare all variables and constants, assigning starting values as needed  Rename the Module to something more meaningful than Module  Ask the user to input the number of tickets sold  Catch all errors and provide an appropriate message o Do not attempt to make any calculations if the input values trigger an error  Make sure the calculations are correct  Display the following o Gross Adult Revenue o Gross Child Revenue o Net Adult Revenue o Net Child Revenue o Total Gross Revenue o Total Net Revenue  Format the results as currency  Write the code neatly  Display the results neatly  Remove any unneeded code  Turn in a hard copy of your code

Sample output:

Enter the number of adult tickets sold: 12 Enter the number of adult tickets sold: q Please enter a valid number for the tickets.

Enter the number of adult tickets sold: 120 Enter the number of adult tickets sold: 72

The amount of gross adult revenue: $720. The amount of net adult revenue: $144. The amount of gross child revenue: $288. The amount of net child revenue: $57. The total of the gross revenue: $1,008. The total of the net revenue: $201.

  • Multiple Choice

Course : Visual Basic Programming (COM) (CSC 130 )

University : south dakota state university.

movie theater homework

  • More from: Visual Basic Programming (COM) CSC 130  South Dakota State University 47   Documents Go to course

Recommended for you

  • For educators
  • English (US)
  • English (India)
  • English (UK)
  • Greek Alphabet

This problem has been solved!

You'll get a detailed solution from a subject matter expert that helps you learn core concepts.

Question: Unit III Assignment Worksheet Background Information The Ruby Red Movie Theater in town is in jeopardy of having to close its doors because it is unable to generate enough total revenue. In an fffort to generate mone total revenue, the movie theater manager decided to change the prices this month for drinks, popcom, candy, hot dogs, and movla tickets. The

student submitted image, transcription available below

A. To calculate the Income Elasticity of Demand (YED) for movie tickets, you can use the following f...

answer image blur

Not the question you’re looking for?

Post any question and get expert help quickly.

IMAGES

  1. At the cinema-Test worksheet

    movie theater homework

  2. Homework Ideas

    movie theater homework

  3. Movie Theater Sketch

    movie theater homework

  4. Hollywood Movie Homework Folder Cover by My Dog Ate My Homework

    movie theater homework

  5. Movie Theater Worksheets: Teaching in a PreK Classroom

    movie theater homework

  6. SOLUTION: Movie Theater Database: Entity-Relationship Model, homework

    movie theater homework

VIDEO

  1. HOMEWORK ENGLISH / MOVIE SPLIT

  2. Homework- the movie: Coco

  3. How To Act -Mastering the Art of Subtle Acting for the Big Screen

COMMENTS

  1. What's it like working at a movie theater? : r/movies

    Lots of free popcorn for me, small bag during shifts, free medium when I came to a movie, free movie weekly, and for every 12 hours you worked you received an "any movie for $1" pass. Management was lousy though and the company I worked for (not saying names) cough Marcus cough really prioritized money above workers and guests/customers.

  2. Module 5: Movie Theater Imagine that you work at a movie theater

    As I navigate through the bustling theater, the sights, sounds, and aromas remind me of the diverse array of experiences I've encountered in other places, reaffirming the movie theater as a cherished destination where people come together to escape reality and immerse themselves in the magic of storytelling and shared experiences. 4.

  3. Those of you who have worked at a movie theatre, how was it?

    I loved working in a movie theater. At the same time, what I've seen over the years is that unless you're going to an art type movie house, most of the employees don't care about movies that much, which is disappointing. The pay scale is terrible. Movie theaters are low margin businesses.

  4. smartwork5 chapter 1 Flashcards

    You recently got a job as an usher at the nearby movie theater. Last night, you had the opportunity to work but decided to take your very first vacation day. Suppose you could have earned $8 per hour for three hours of work. Instead, you went to a movie yourself, where you spent $15 on a ticket and popcorn. Your opportunity cost to see the ...

  5. GitHub

    Homework assignment to make a movie theater database and erd. From Wednesday of week 4 - benp145/movie_theater_db

  6. What's it like working in a cinema? : r/movies

    I got tired of movie theater popcorn and couldn't eat it for probably 10 years after. Overall I really like the job. I like the atmosphere of movie theaters. I liked popping into a theater to watch a good scene of a movie. I liked getting to see all the movies I wanted for free.

  7. CSC 130 Homework 1

    Homework 1 Theater Revenue. A movie theater keeps only a percentage of the revenue earned from ticket sales. The remainder goes to the movie company. Create an application that calculates and displays the following figures for one night's box office business: Gross revenue for adult tickets sold.

  8. Solved Unit III Assignment Worksheet Background Information

    Unit III Assignment Worksheet Background Information The Ruby Red Movie Theater in town is in jeopardy of having to close its doors because it is unable to generate enough total revenue. In an fffort to generate mone total revenue, the movie theater manager decided to change the prices this month for drinks, popcom, candy, hot dogs, and movla ...

  9. Discussion Assignment

    A movie theater sells adults tickets for $8.20 and children tickets for $6.35. A popular movie sold out all 200 tickets and brought in a total of $1436.50. How many tickets of each type did the theater sell? PART I - Your initial post. Also give the solution to the system. You do not have to show your work. Make sure you explain:

  10. ACC116 Financial Accounting Chapter 5 homework Flashcards

    1)At most movie theaters, one employee sells tickets and another employee collects them. One night, when you're at the movies, your friend comments that this is a waste of the theater's money. a)Identify the name of the control principle to which this situation relates.-Segregate duties -Restrict access-Establish responsibility-Document procedures-Independently verify