Question: help with JAVA code Pete has a parking garage that charges $ 2 0 per half day, $ 3 0 per full day, and $
help with JAVA code
Pete has a parking garage that charges $ per half day, $ per full day, and $ per overnight. Create a
program to output the information given in blue below using the following required steps:
Create variables of type double named sunday, monday, tuesday, wednesday, thursday,
friday, saturday, and weeklyTotal yes start the variable names with a lowercase letter and do
not assign them values yet
Create more variables of named halfday, fullDay, and overnight and set them equal to the
parking fees given above. Consider your choice of appropriate variable type.
Use the information in the table below to create an expression to set each weekday variable to the
amount of money taken in that day, be sure to use the variables halfDay, fullDay and overNight in
your equations.
Use print statements to produce the output shown below in blue.
Sunday: $ print the value
Monday: $ print the value
Tuesday: $ print the value
Wednesday: $ print the value
Thursday: $print the value
Friday: $ print the value
Saturday: $print the value
Total Revenues for the Week: $print the value
Sample partial output below. Values shown are incorrect.
Saturday: $
Total Revenues for the Week: $
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
