Question: Create a Java program named Baseball that does the following. a . asks for the number of reserved lower ( $ 6 0 . 0

Create a Java program named Baseball that does the following.
a. asks for the number of reserved lower ($60.00 each)
b. asks for the number of reserved upper ($45.00 each)
c. asks for the number of bleacher seats ($20.00 each)
d. asks the user for the home team name
e. asks the user for the visiting team name
f. calculates the cost for the order. There is a 8.0% ticketing fee.
g. Print the summary. See sample output below.
4. Make certain to use Java constants where appropriate.
Example output: Number of Reserved Lower tickets: 2
Number of Reserved Upper tickets: 4
Number of Bleacher tickets: 5
Home Team Name: San Diego Padres
Visiting Team Name: Texas Rangers
Summary:
Home Team: San Diego Padres
Visiting Team: Texas Rangers
Reserved Lower Tickets: 2
Reserved Upper Tickets: 4
Bleacher Tickets: 5
Total Cost: $$400.00
Ticketing Fee (8.0%): $$32.00
Grand Total: $$432.00

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 Databases Questions!