Objective: You are going to develop a program for "JAVA Flower Shop" an online flower shop, which allows the user to add their orders to buy different types of flower bouquets then calculate the cost....


Objective:<br>You are going to develop a program for

Extracted text: Objective: You are going to develop a program for "JAVA Flower Shop" an online flower shop, which allows the user to add their orders to buy different types of flower bouquets then calculate the cost. Program Details: 1. The program served three types of flowers: Roses, Lilies, and Tulips with prices 250 SR, 200 SR and 180 SR respectively. 2. Price of each bouquet of flowers should be declared as constants at the beginning of the program. 3. The program will display the menu that contains these three types of flowers in addition to exit option to end the program. 4. The menu should be displayed many times to allow the user to select more than one bouquet of flower. 5. The user must select from the following options (R for Roses, L for Lilies, T for Tulips or E for Exit). Both capital and small letters should be accepted. (i.e. R or r, L or 1, T or t, E or e). 6. The user will choose the type of flowers and the number of bouquet to buy, then the program will calculate the cost. 7. If the user enters incorrect choice, the following message should be displayed "Wrong Selection! Try again", and the menu must be displayed again. 8. Item total will be calculated as: Item total = price of selected types of flowers * total quantity of this types of flowers • Subtotal equals summation of all items total. 9. There is a Tax equals to 15% added to the Subtotal price. Tax=Subtotal * 0.15 • The total price equals Subtotal + Tax 10.Print "Thank you and see you again" at the end.
11.When the user enters E or e, program should end, and the bill will be displayed.<br>12. The bill should display all items with their quantities and item total.<br>Item<br>Quantity<br>Item Total<br>13. Then, Subtotal, Tax, Total Price with

Extracted text: 11.When the user enters E or e, program should end, and the bill will be displayed. 12. The bill should display all items with their quantities and item total. Item Quantity Item Total 13. Then, Subtotal, Tax, Total Price with "SAR" RUN #1 : Welcome to "JAVA Flower Shop" Roses flowers 'R' 250 SR Lilies flowers 'L' 200 SR Tulips flowers 'T' Exit 180 SR 'E' Please enter your choice: w Wrong selection! Try again Welcome to "JAVA Flower Shop" Roses flowers 'R' 250 SR Lilies flowers 'L' 200 SR Tulips flowers "T" 'E' 180 SR Exit Please enter your choice: e Have a Nice Day :)
Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here