Chat with us, powered by LiveChat Programming | WriteDemy

1.      Plan your logic before working on the project and review the syntax you will use in the project. Think about how you want the output to be displayed to the user. You might want to tell the user what the program does and what type of input you expect from the user. You interface structure could do this. Select names of the variables you will use in the program.

2.      Create a JAVA project Using NetBeans IDE. And have the code window open to write the project code. Here are some instructions on creating the project.

·         Declare variables to hold input information.

·         Using the JOptionPane Concept. (Some programs might need just the Scanner.

·         Ask the user to enter some information requested and save the response to a variable. This could look like: name = JOptionPane.showInputDialog (“Enter your name”).

·         Use line spacing (i.e. n) to separate lines of output to make it easy for the user to read the information and have proper line length.

3.   Documentation: All lines of code must be documented.

·         Use the syntax to designate lines in code as comments (//)

·         These comments can be at the end of a line of code or in a group definition at the beginning of a section of code. All methods and function need a group heading document.

4.   Run the program using Run Project menu item.Debug the code, making sure all calculations are correct and the line spacing is suitable for readability.

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:

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.

Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.

Do you need an answer to this or any other questions?

About Writedemy

We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.

How It Works

To make an Order you only need to click on “Place Order” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Are there Discounts?

All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.

Hire a tutor today CLICK HERE to make your first order