Step 4: Choose Your Option: Yes: Credit Card - 10% Discount Na: Debit Card - 5% Discount Cancel - Cash 2% Discount Yes-Credit card No-Debit Card Cancel-. X ? Choose your option Yes No Cancel Step 5:...

Pleased solve this important homework.Step 4: Choose Your Option:<br>Yes: Credit Card - 10% Discount<br>Na: Debit Card - 5% Discount<br>Cancel - Cash 2% Discount<br>Yes-Credit card No-Debit Card Cancel-. X<br>? Choose your option<br>Yes<br>No<br>Cancel<br>Step 5:<br>a) If you user clicks Yes Button :<br>Sample Output:<br>Customer Name Ahmed Mobile Number 39396345<br>Rem Name Apple Phone 12 Pro 5G 256GB Unit Price 516.0 Amount: 1548.OFinal Amount After Discount - 1393.2<br>OK<br>b) If user clicks No Button:<br>Calculate discount (5%) for Debit card and display the proper output<br>c) If user clicks Cancel Button<br>Calculate discount (2%) for cash transaction and display the proper output<br>

Extracted text: Step 4: Choose Your Option: Yes: Credit Card - 10% Discount Na: Debit Card - 5% Discount Cancel - Cash 2% Discount Yes-Credit card No-Debit Card Cancel-. X ? Choose your option Yes No Cancel Step 5: a) If you user clicks Yes Button : Sample Output: Customer Name Ahmed Mobile Number 39396345 Rem Name Apple Phone 12 Pro 5G 256GB Unit Price 516.0 Amount: 1548.OFinal Amount After Discount - 1393.2 OK b) If user clicks No Button: Calculate discount (5%) for Debit card and display the proper output c) If user clicks Cancel Button Calculate discount (2%) for cash transaction and display the proper output
Write a java program which collect the user details such as Customer Name, Mobile Number, Item Name<br>and Unit price of an item. User must collect the proper inputs using Java dialog controls and do process<br>based on the conditions (check the privilege card, calculate discount, and display the proper autput using<br>Java dialog controls. Find below the screen shats/steps for input and autputs.<br>Step 1: Input Customer Name, Mobile Number, Item Name to purchase, Unit Price<br>Input<br>Input<br>?<br>Eter your n<br>?<br>Enter your Mobile number<br>Ahmed<br>39396568<br>ON<br>Cencel<br>OK<br>Cancel<br>Input<br>Input<br>Enter Unit Price in BHD<br>?<br>516<br>Enter tem name You want<br>Apple iPhone 12 Po, 50,2560e<br>OK<br>Cancel<br>OK<br>Cancel<br>Input<br>Number of items<br>OK<br>Cancel<br>Step 2: Check Whether the user has the Privilege card:<br>Previlege Card<br>? Do you have our company Previlege Card ?<br>Yes<br>No<br>Step 3: If the Customer Click Yes Button:<br>Display the Discount details in the following manner<br>Discount Details:<br>Credit Card-10%<br>Debit card-5%<br>,Cash 2%<br>OK<br>

Extracted text: Write a java program which collect the user details such as Customer Name, Mobile Number, Item Name and Unit price of an item. User must collect the proper inputs using Java dialog controls and do process based on the conditions (check the privilege card, calculate discount, and display the proper autput using Java dialog controls. Find below the screen shats/steps for input and autputs. Step 1: Input Customer Name, Mobile Number, Item Name to purchase, Unit Price Input Input ? Eter your n ? Enter your Mobile number Ahmed 39396568 ON Cencel OK Cancel Input Input Enter Unit Price in BHD ? 516 Enter tem name You want Apple iPhone 12 Po, 50,2560e OK Cancel OK Cancel Input Number of items OK Cancel Step 2: Check Whether the user has the Privilege card: Previlege Card ? Do you have our company Previlege Card ? Yes No Step 3: If the Customer Click Yes Button: Display the Discount details in the following manner Discount Details: Credit Card-10% Debit card-5% ,Cash 2% OK
Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here