Based on the description given below, draw a complete flowchart for a program develop for Cyberia Mart, to take orders from customer. • Set all necessary variables. Ask if customer is an existing customer of the mart o If existing customer, they will get exemption from 6% tax. Get customer's item name, quantity and price of the item. Ask if customer would like to have delivery. • Delivery charges for quantity under 10 is $2.00, for quantity equal to 10 or more delivery is $5.00. If the quantity is more than 10, additional $6.00 will be added at the delivery charge for safety box wrapping. • Calculate the total and grand total. • Display the Item name, quantity, delivery and total. Repeat as long as customer wish to add other item. If user wish to stop add item, calculate the tax amount and total price plus tax. Display the total price, tax amount and total price after add with tax.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
100%
Based on the description given below, draw a complete flowchart for a program
develop for Cyberia Mart, to take orders from customer.
• Set all necessary variables.
• Ask if customer is an existing customer of the mart
o If existing customer, they will get exemption from 6% tax.
Get customer's item name, quantity and price of the item.
Ask if customer would like to have delivery.
Delivery charges for quantity under 10 is $2.00, for quantity equal to 10 or
more delivery is $5.00.
If the quantity is more than 10, additional $6.00 will be added at the
delivery charge for safety box wrapping.
• Calculate the total and grand total.
• Display the Item name, quantity, delivery and total.
Repeat as long as customer wish to add other item.
If user wish to stop add item, calculate the tax amount and total price plus
tax.
• Display the total price, tax amount and total price after add with tax.
Refer to Sample Output 1 and Sample Output 2 below.
SAMPLE OUTPUT 1:
**************
********************************************
**********************WELCOME TO CYBERIA MART***************
*********************
***************
Existing customer? (0 = No, 1 = Yes): 0
Enter the item name : Mouse
Enter the quantity : 4
Enter the price ($): 10.90
Delivery? (0 = No, 1 = Yes): 1
Invoice (in $):
Item
Price
Mouse
4
Delivery
2.00
Total
45.60
More item? (0 = No, 1 = Yes): 1
Enter the item name: Keyboard
Enter the price ($): 15.00
Enter the quantity : 12
Transcribed Image Text:Based on the description given below, draw a complete flowchart for a program develop for Cyberia Mart, to take orders from customer. • Set all necessary variables. • Ask if customer is an existing customer of the mart o If existing customer, they will get exemption from 6% tax. Get customer's item name, quantity and price of the item. Ask if customer would like to have delivery. Delivery charges for quantity under 10 is $2.00, for quantity equal to 10 or more delivery is $5.00. If the quantity is more than 10, additional $6.00 will be added at the delivery charge for safety box wrapping. • Calculate the total and grand total. • Display the Item name, quantity, delivery and total. Repeat as long as customer wish to add other item. If user wish to stop add item, calculate the tax amount and total price plus tax. • Display the total price, tax amount and total price after add with tax. Refer to Sample Output 1 and Sample Output 2 below. SAMPLE OUTPUT 1: ************** ******************************************** **********************WELCOME TO CYBERIA MART*************** ********************* *************** Existing customer? (0 = No, 1 = Yes): 0 Enter the item name : Mouse Enter the quantity : 4 Enter the price ($): 10.90 Delivery? (0 = No, 1 = Yes): 1 Invoice (in $): Item Price Mouse 4 Delivery 2.00 Total 45.60 More item? (0 = No, 1 = Yes): 1 Enter the item name: Keyboard Enter the price ($): 15.00 Enter the quantity : 12
Delivery? (0 = No, 1 = Yes): 1
Invoice (in $):
Keyboard
12
Item
Price
Delivery
Total
11.00
155.00
More item? (0 = No, 1 = Yes): 0
Total price
$200.60
$12.04
$212.64
Тах
Total Price with Tax
******************:
****************************HAVE A NICE DAY!********************** S
********
******************
SAMPLE OUTPUT 2:
************
**********************WELCOME TO CYBERIA MART***************
*******
Existing customer? (0 = No, 1 = Yes): 1
Enter the item name : Headset
Enter the quantity: 5
Enter the price ($): 30.50
Delivery? (0 = No, 1 = Yes): 0
Invoice (in $):
Item
Headset
Price
30.50
Quantity
Delivery
Total
0.00
152.50
More item? (0 = No, 1 = Yes): 0
Total price
Тах
$152.50
$0.00
$152.50
Total Price with Tax
b) Based on the description given in (a), write the pseudocode.
Transcribed Image Text:Delivery? (0 = No, 1 = Yes): 1 Invoice (in $): Keyboard 12 Item Price Delivery Total 11.00 155.00 More item? (0 = No, 1 = Yes): 0 Total price $200.60 $12.04 $212.64 Тах Total Price with Tax ******************: ****************************HAVE A NICE DAY!********************** S ******** ****************** SAMPLE OUTPUT 2: ************ **********************WELCOME TO CYBERIA MART*************** ******* Existing customer? (0 = No, 1 = Yes): 1 Enter the item name : Headset Enter the quantity: 5 Enter the price ($): 30.50 Delivery? (0 = No, 1 = Yes): 0 Invoice (in $): Item Headset Price 30.50 Quantity Delivery Total 0.00 152.50 More item? (0 = No, 1 = Yes): 0 Total price Тах $152.50 $0.00 $152.50 Total Price with Tax b) Based on the description given in (a), write the pseudocode.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Module hierarchy chart
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education