This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: game times average 3.5 hours. Create a program whose main method holds the following variable declarations: lotCapacity, avgPassengersPerCar, feePerHourPerCar, ticketPrice, hoursForGame, totalPeople, totalParking, totalTickets, grandTotal. totalParking = lotCapacity * SeePerHourPerCar * hoursForGame totalPeople = lotCapacity * avgPassengersPerCar totalTickets = totalPeople * ticketPrice grandTotal = totalParking _ totalTicket You are responsible for creating a program that will prompt the Data Entry Spet to input the total number of cars that entered the lot on game. The program should perform all calculations listed above, and display the results in a dialog box....
View Full Document
This note was uploaded on 10/04/2010 for the course COMPUTER S 106 taught by Professor Moore during the Spring '08 term at Clark Atlanta.
- Spring '08