Question
Write a java program that reads the subtotal and the gratuity rate for a service. Compute the gratuity and the total. For example, if the
Write a java program that reads the subtotal and the gratuity rate for a service. Compute the gratuity and the total. For example, if the user enters 10 for the subtotal and 15% as the gratuity rate, the program displays $1.5 as the gratuity and $11.5 as total. Your program should output the subtotal entered, the gratuity rate, the gratuity amount and the total amount due.
Your output should be formatted in such a way that it makes sense for what you as a user would want to see. Remember to Output what a description of what you are showing the user - not just values on a screen.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started