Friday
October 31, 2014

Homework Help: programming

Posted by emman on Friday, June 1, 2012 at 3:34am.

Write a program C++ that allow the shop staff to enter the customer's orders, record payments, view all the completed orders as listing of sales, print the highest and total sales made for the day from Main Menu below
#################################
Coffee Shop
Main Menu
#################################
1--Order
2--Sales Made

Please Enter Your Option: []

The order represents an order a customer will make when they come to the coffee shop. Each order can contain no more than 3 items. Below is suggested sample order menu:

######################################
Coffee
Order Menu
######################################
Please Enter Your Number of Order(s):[]

R--Return to main menu

Assume Staff entered 2 as customer's order in above Order menu and below should be following suggested menu that the program will allow staff enter the choice of items for twice. The same item should not be entered twice.

######################################
Coffee Shop
Order Menu
######################################
Item Price (RM)
F--Fruit Juice 2.50
I--Ice Cream 3.00
C--Cake 3.50

Please Enter Your Choice:[F]
Please Enter Your Choice:[I]

From Order Menu shows customer ordered one Fruit Juice and one Ice cream, which will cost RM7.50 which will be presented in receipt as sample in next page

########################################
Coffee Shop
Receipt
#######################################
Item Qty Price (RM)
Fruit Juice 1 2.50
Ice Cream 1 3.00
_______________________________________
Total 7.50

Payment :RM 10.00
Balance :RM 2.50

Once this is completed the one user there should be a option to go to next customer or close counter

########################################
Coffee Shop
########################################
[1]Next Customer
[2]Close Counter

Your Option:

If the user chose Next Customer, the progrm should loop back to menu and continue with the next customer order, else if the customer choose close counter. Then the program should produce a summary of sales per day.

########################################
Coffee shop
Summary Per day
########################################
item Qty Price(RM)
Fruit Juice 10 22.50
Ice Cream 5 15.00
________________________________________
Total 37.50

Highest sale: RM 12.00
Lowest sale: RM 2.00

Orders are considered completed one the customer makes the payment for the order and the sales, will be recorded so staff could review listing sales, print highest, lowest, and total sales made for the day

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

programming - Write a program which allows user to enter 10 student names and ...
programming - a sales report. Each record in the file contains a customer's ...
college - all records in a file must be uniquely identiied in at least one ...
statistics - An appliance repair shop owner has fitted the quadratic trend ...
Programming in c++ - Draw a flow-chart and Write a program that asks the user ...
C Programming - Write a program that prompts the user to enter a temperature, ...
math - A catering company has 15 customer orders during its first month, for ...
programming - write a program in C# that calculates and prints the take home pay...
web design - Why does the cost of operating your website go up dramatically if ...
Math/Management - MeanBeats is a company that manufactures and sells electronic ...

Search
Members