Where x is the number of laptops


Write a test case, LaptopTest2, to let the user enter which laptop to purchase and how many laptops were purchased. Use JOptionPane for input and output. Use a switch statement to select which laptop; 1 for HP, 2 for Apple, 3 for Dell. In the output box you will print

You purchased x TYPE laptops for $xxx.xx.

Where x is the number of laptops, TYPE is HP, APPLE, or DELL and $xxx.xx is the charge.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Where x is the number of laptops
Reference No:- TGS0119827

Expected delivery within 24 Hours