Question: import java.util.Scanner; public class BestBuyPay { public void display_menu() { System.out.println(1) Option 1 2) Option 2 3) Option 3); System.out.print(Selection: ); } public void askquestion()

import java.util.Scanner; public class BestBuyPay { public void display_menu() { System.out.println("1) Option 1 2) Option 2 3) Option 3"); System.out.print("Selection: "); } public void askquestion() { System.out.println("Would you like to continue or get no coverage plan?"); System.out.println("To proceed enter 9."); System.out.println("If you wish to quit enter 0."); Scanner q = new Scanner(System.in); switch (q.nextInt()) { case 0: System.out.println ("Thak you for your purchase today have a nice day :)."); break; case 9: System.out.println ("Please continue."); new BestBuyPay(); break; default: System.err.println ( "error" ); break; } } public BestBuyPay() { Scanner in = new Scanner(System.in); display_menu(); switch (in.nextInt()) { case 1: System.out.println ( "You Selected option 1" ); askquestion(); break; case 2: System.out.println ( "You Selected option 2" ); askquestion(); break; case 3: System.out.println ( "You Selected option 3" ); askquestion(); break; default: System.err.println ( "Unrecognized option" ); break; } } public static void main (String[]args) { new BestBuyPay(); } }

so we are doing a project in class and we need a little help since we are coming up with this

our goal is to have three option protection plans

our option one = we want the customer to pay 10% of their overall price and that will be the cost of their protecton(to get some sort of small protection

option 2= we want the customer to pay 50% of the overall price of the item for them to have thier item fully fixed

option 3= they will pay 70%of overall price they will get a brand new item

once the costumer inputs their data we want the total to be output(the total will equal price of the item+protection+tax+

can someone gives us ideas on how we can implement this project into code (project is in java code)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!