Write a program that computes the tax and tip for a restaurant bill. User is to enter the total amount of the bill. Tax is 6.75% of the bill. The tip is 15% of the meal after tax has been added. The meal charge, tax, tip, and total should be printed on the screen.
Breaking it down
Ask user for meal charge
Create supporting calculation methods
Calculate tax, tip and total
Allow tax rate and tip to be inputed by user
Validate user input charge of the meal
Pretty up ouput
Tax rate is determined typically by state, create a Map to look up state tax. It would look something like key - "WI", value = .0675.