Question: show all work please *2.5 (Financial application: calculate tips) Write a program that reads the subtotal and the gratuity rate, then computes the gratuity and

show all work please
*2.5 (Financial application: calculate tips) Write a program that reads the subtotal and the gratuity rate, then computes the gratuity and total. For example, if the user enters 10 for subtotal and 15% for gratuity rate, the program displays $1.5 as gratuity and $11.5 as total. Sample Run for Exercise02_05.java Enter input data for the program (Sample data provided below. You may modify it.) 100.57 15 Reset Show the Sample Output Using the Preceeding Input Execution Result: JDK>java Exercise02_05 Enter subtotal and gratuity rate: 100.57 15.0 The gratuity is 15.0855 total is 115.65549999999999 JDK8Step 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
