Create gui application that allows the user to enter the

Assignment Help Programming Languages
Reference no: EM13887477

Question: Theater Revenue

A movie theater only keeps a percentage of the revenue earned from ticket sales. The remainder goes to the movie company. Create a GUI application that allows the user to enter the following data into text fields:

-Price per adult ticket

-Number of adult tickets sold

-Price per child ticket

-Number of child tickets sold

The application should calculate and display the following data for one night?s box office business at a theater:

-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 percent of its box office receipts. Use a constant in your code to represent this percentage.

Reference no: EM13887477

Questions Cloud

Magnesium the coef?cient of thermal expansion : For polycrystalline magnesium the coef?cient of thermal expansion is 25.2 × 10-6/?C and Young's modulus is 68.4 GPa. Parallel to the c-axis of a single crystal the coef?cient of thermal expansion is 24.3 × 10-6/? and Young's modulus is 80.9 GPa.
Compute the late filing and late payment penalty : Mr. and Mrs. Pratt failed to apply for an extension of time to file their 2014 Form 1040 and didn't mail the return to the IRS until May 29, 2015. Assuming the Pratt's had no excuse for filing a delinquent return, compute their late filing and late p..
Explain why expected return is considered forward-looking : Explain how differences in allocations between the risk-free security and the market portfolio can determine the level of market risk
Stress in the surface layer : What was the stress in the surface layer before it was removed. For aluminum, E = 10 × 106 psi and υ = 0.30.
Create gui application that allows the user to enter the : A movie theater only keeps a percentage of the revenue earned from ticket sales. The remainder goes to the movie company. Create a GUI application that allows the user to enter the data into text fields.
On which day of the week were you born : What is the probability that the 13th of any month falls on a Friday? The answer is close to, but not exactly equal to, 1/7.
Direction depending on the needs of the animal : . Action potentials normally travel along an axon in either direction depending on the needs of the animal.         True        False
Problem regarding the martensite and austenite : Assume that this expansion occurs equally in all directions. For steel, the coef?cient of linear thermal expansion is α = 6 × 10-6/?C, Young's modulus is 30 × 106  psi, and υ = 0.29. Assume these apply to both  martensite and austenite. Find the stre..
Explain why management might want an independent audit : Explain why management might want an independent audit of its financial statements. What types of users might be interested in Green Day's financial results?

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd