Question: You will submit a Java file. Write a program CalcYOURNAME with ONE method named calculate . You must complete @author and @version fields. The terminal
You will submit a Java file. Write a program CalcYOURNAME with ONE method named calculate. You must complete @author and @version fields. The terminal window is shown with user inputs in RED. The method must declare a variable for the name, all inputs, total, payment and change. Please line up numbers and name vertically as shown. Run your code with different values. Append a terminal output as a comment at the end of the code. Calc By YOURNAME Burger price, ex 4.99: 6.99 How many burgers, ex 3: 2 First name? Betty Your total is $13.98 Your payment, $20.00 Your change is $6.02 Betty, thank you for your order
Step 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
