Question: create a java program/Class use descriptive variable names An area of San Juan PR has a zip code of 00901 and a sales tax of
An area of San Juan PR has a zip code of 00901 and a sales tax of 6%. 1. Create the appropriate numeric variable to store any valid 5 digit zip code. 2. Prompt for the San Juan Zip Code. 3. Display the unformatted zip code. 4. Format and display the zip code so that it has leading zeros and a size of 5. 5. My hotel charge is $55.00 Store this in a constant. 6. Create a double variable for my total cost. 7. Calculate my total cost by multiplying my hotel charge by 1.06 8. Display the unformatted total cost. 9. Format and display the total cost rounded to 2 decimal places
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
