Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a java program, that the user will choose from menu selection A-SALES ORDER B - CUSTOMER RECORDS PROCEDURE : FOR Menu A : The
Create a java program, that the user will choose from menu selection A-SALES ORDER B - CUSTOMER RECORDS PROCEDURE : FOR Menu A : The user will select from list of ORDER NUMBER ( using array joptionpane) [001,002,003,004,005) and display the following, for selected order number from your java console. Order Num. ITEM. PRICE 001 - COLGATE 45.76 002 - PALMOLIVE 34.50 003 SAFE GUARD 78.89 004 - NEVEA 100.45 005 PONDS 89.45 After Display, the user will ENTER NUMBER ORDER, and display automatically the TOTAL ORDER with the formula (TO =P* NO ) where P is Price and NO is number order. Now if Total Order of the Customer is maximum of 1000.00 Then the total order will less 20% and display new Total order with less 20% Then the User will Enter CASH: and automatically display CUSTOMER CHANGE using the formula CH = C-TO) where Cis cash and to total order. Print ORDER NUM, ITEMS, TOTAL ODERS and CUSTOMER CHANGE For Menu B: The user will enter from JOptionPane Input box : CUSTOMER NUMBER, NAME, ADDRESS and display result in your java console application REMINDER : NOTE that the program is continues with Do... While loop, every YES will continue on specific process and also there's another do wile loop answered by YES that must be return on main menu selection. Otherwise terminate operation and program.|| Each menu also has Decision making process. Choose what is appropriate. Each menu also run on methods under public static void "name of method" that will call in your main method
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started