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

  Program that satisfies requirements of programming project

Write a program that satisfies the requirements of Programming Project 2 of Hanly, and that uses the following modifications and tips -Use the COLOR_CODES string array.

  Explaining steps to execute branch instruction

Sketch a flow chart which carefully explains steps that little man follows to execute a branch instruction.

  Traditional versus object-oriented design

Compare the object-oriented approach to design to the traditional approach. Give your opinion on whether or not you believe there are certain projects where one design approach might be better that the other. If so, provide an example of one (1) s..

  Program to overload the addition assignment operator

Overload the addition assignment operator (+=), the subtraction assignment operator (-=), and the multiplication assignment operator (*=).

  Design and draw a ladder diagram circuit

Design and draw a ladder diagram circuit suitable for a PLC which will fulfil the following control requirement and explain briefly the technique of multiplexed switching of analogue signals

  Write a program that exploit string library functions

Write a program that exploit string library functions to do the following: -prompt the user to enter his name (of four parts) -count the number of characters in his name (excluding the white spaces).

  Write program to calculate integer part of quotient

Write program segments that accomplish each of the following tasks:Calculate the integer part of the quotient when integer a is divided by integer. Calculate the integer remainder when integer a is divided by integer b.

  Scripting language programming in perl

course Scripting Language Programming,  Assignment   -  Perl,  ? Your coding style should conform to general Perl coding conventions. Your scripts should be clean, neat, and well-formatted (e.g. indention). Identifiers should also be properly name..

  Write a program that will store 7 integers

Write a program that will store 7 integers (entered by the user) into an array called list1. Next, prompt the user for 5 integers and put them into an array called list2. Now, list all of the numbers that are in BOTH lists by calling a function c..

  Cloud computing significantly improve public sector it

Cloud computing can significantly improve public sector IT.A number of government agencies are adopting cloud technologies and are realizing considerable benefits. For instance, NASA Nebula,5 through a community cloud, gives researchers access to ..

  Modify the inventory program by creating a subclass

Modify the Inventory Program by creating a subclass of the selected product's class that uses one additional unique feature of the product that has been selected for you. You must use the subclass name and additional unique feature

  Create class for hardware store to represent invoice

Create a class called Invoice that a hardware store might use to represent an invoice for an item sold at the store. An Invoice should include four pieces of information as instance variables a part number.

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