Question: Q . 1 . 1 Write a Java application to display the number of movie tickets sold for two different movies at a local cinema.

Q.1.1 Write a Java application to display the number of movie tickets sold for two different movies at a local cinema. The movie report generated will display the movie name and the total sales for the months of January, February, and March of 2024. The table below shows the movie and ticket sales for each month:
\table[[,JAN,FEB,MAR],[Napoleon,3000,1500,1700],[Oppenheimer,3500,1200,1600]]
Sample screenshot
Using single and two dimensional arrays produce the movie report and include the total movie ticket sales for each movie.
In your solution also include the top performing movie.
Q.1.2 Make use of a class named MovieTickets that contains methods to calculate the total movie sales and the top performing movie. The MovieTickets class must implement an IMovieTickets interface that contains the following:
public interface IMovieTickets {
int TotalMovieSales(int[] movieTicketSales);
String TopMovie(String[] movies, int[] totalSales);
Q . 1 . 1 Write a Java application to display the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!