Thursday
April 17, 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 - PLS, I NEED TO BE GUIDED ON HOW TO WRITE A SIMPLE PROGRAM IN BASIC...
Programming - Write a pseudocode program that asks the user for an integer ...
Programming - Write a program that would calculate and display the results for ...
programming - I am having trouble writing this program for java. can anybody ...
Programming - (i) What is binary tree (ii) Write a program to multiply any two ...
C++ programming - write a program C++ program and Use a recursive function that ...
programming - How to write a program to create a class roster using an array? ...
Computer programming - problem: Write a program that accepts your first name ...
programming MIPS ask 3 - Write a MIPS assembly language program for the ...
Math - A fast food shop plans to employ 8 full-time staff and some part-time ...

Search
Members