Create a gui application that allows the user to enter price

Assignment Help Programming Languages
Reference no: EM131533103

Assignment

A movie theater only keeps 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 at a theater:

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 the 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 tickets sales left over after the payment to the movie company has been deducted.

• Total gross revenue. This is the sum of gross revenue for all 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 the box office receipts. Use a named constant in your code to represent this percentage.

Use the following set of test data to determine whether the application is calculating properly.

Reference no: EM131533103

Questions Cloud

Comment on the ethics exhibited by ashton : Ashton Martin is a student who plans to attend approximately four professional events a year at her college. Each event necessitates a financial outlay of $100.
What is the city rate of the return : If the initial cost of the system is $25 million (paid by the city) and given a 15 year planning horizon, what is the city’s rate of the return?
What do is and lm curve signify : What do is and LM curve signify?
Prepare a brief memorandum to the owner concerns : You are the financial officer for Music Plus, a retailer that sells goods for home entertainment needs. The business owner, Jamie Madsen.
Create a gui application that allows the user to enter price : Create a GUI application that allows the user to enter the following data into text fields: Price per adult ticket and Number of adult tickets sold.
Analyze and comment on the trend in its gross margin ratio : Access the SEC's EDGAR database (www.sec.gov) and obtain the March 19, 2010, filing of its fiscal 2010 10-K report (for year ended January 30, 2010).
Prepare loans for credit tranching and sale : Do some research on the Internet and describe how loan underwriting is used to prepare loans for credit tranching and sale on U.S.
Write a python program that generates a small web site : Write a Python program that generates a small web site for a local sports club. It will read some input data from a text file
Populate the stock ticker combobox control : Populate the stock ticker ComboBox control: The user should start with a ComboBox control that displays the complete list of stock tickers retrieved.

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