(TCOs 1–6) TicketsRUs needs an application to calculate ticket prices. There are three ticket prices: There is also a 15% discount on matinee performances. Your application has the GUI shown

(TCOs 1–6) TicketsRUs needs an application to calculate ticket prices. There are three ticket prices: There is also a 15% discount on matinee performances. Your application has the GUI shown below. With the following named components: The action listener for btnCalc is set up as follows. Write the calcPrice method that is called by the action listener. This class method has access to all of the GUI components. You DO NOT HAVE TO CODE THE GUI. ONLY write the code for this method which does all the work. The header for the method is: (TCOs 1–6) Employees at a certain company get a yearly bonus based on years of service. The bonus is a percentage of their annual salary based on the table below. Create a class called Employee that can be used for this. It should have attributes of Create the following methods. This class will be used with the Bonus Calculator GUI shown below. With the following named components: (TCOs 1–6) A trucking company has an application to track data from their trucks regarding miles driven and fuel used each month. This information is stored in a file named “trucks.txt” . This table has the following fields. The application has a button that is clicked to read each line of the file and calculates and displays in the console the total miles driven, total fuel used, and average miles per gallon. You DO NOT have to write a separate class to process the data. The output in the console should look like: The class method readFile() is called by the action listener to do the work. Write the code for this method. (Points : 15) (TCOs 1–6) Assume a College database has a table to keep transcript data on students. The transcript table has fields for SSN, TotalPoints, and TotalCredits. You are to design an application that allows a student to input their SSN into a textbox (txtSSN) and press a button (btnCalc). The students GPA is calculated (divide points by credits) and displayed in txtGPA. Describe the process/steps to do this. Write pseudocode/comments or code where you can. You DO NOT have to have complete working code, you need to describe the necessary steps and WHERE things need to be coded. (Points : 15)

Do you need us to help you on this or any other assignment?


Make an Order Now