Question: java Assignment worth 30 points You will be ereating a small tip calculator program. Prompe the user to enter the subtotal, and tip amount (as

Assignment worth 30 points You will be ereating a small tip calculator program. Prompe the user to enter the subtotal, and tip amount (as a percentage). Then, calculate and display the tip amouat, and grand total. Sample outpot is listed following the directions. ComputeTip.java - Variables; double variable named subtotal double variable named tipPercentage double variable named tipAlmount double variable named grandTotal Scanner object for user inpot - tipPercentage needs to be divided by 100 in order to be used in the calculations i.e. user inputs 20 for the \%. 80 you need to divide 20 by 100 to get 0.20 Complete the program and upload the java solution file to Moodle: - ComputeTip.java Sample Run: Thank you for dining with us. Please enter your subtotal: 19.95 Please enter the t Ip percentage: 20 *w.Final Bi11*... Subtotal: \$19.95 Tip: $3.99 Grand Total: $23.94 Assigasaent Grading Shect
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
