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
Get step-by-step solutions from verified subject matter experts
