programming

posted by .

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

  • programming -

    We do not take programming contracts.

    However, if you post pseudocodes, or codes, we will be glad to help you spot errors, or give suggestions.

    If you have difficulties getting started, please post stating what you have learned in your course, and where you difficulties are. We'll try to help from there.

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. programming

    Write a program which allows user to enter 10 student names and scores for Java programming 1 and Java programming 2. Allow user to choose which course they want to enter the record for. Use the loop to ask input from user. The program …
  2. programming

    a sales report. Each record in the file contains a customer's number and name, a sales amount and a tax code. The tax code is to be applied to the sales amount to determine the sales tax due for that sale, as follows: Tax code Sales …
  3. C Programming

    Write a C program that accepts sales made by 5 sales reps for the 4 months that they have been selling the company's products. The program should then find the total sales for 4 months, total sales for each sales rep, and total sales …
  4. C Programming

    how do i write a C program that accepts sales made by 5 sales reps for the 4 months that they have been selling the company's products. The program should then find the total sales for 4 months, total sales for each sales rep, and …
  5. java programming

    Create a Sales application that prompts the user for a series of sales figures and then implements a sorting routine on the sales figures. Output. Enter the number of sales made today: 15 Enter the amount of sales 1:25 Enter the amount …
  6. intro to computer programming

    Write a program that asks the user to enter the number of packages purchased. The program should then display the amount of the discount (if any) and the total amount of the purchase after the discount. Your program should use a loop …
  7. programming

    Design a program and write program that will read a file of sales records and produce a sales report. Each record in the file contains a customer's number and name, a sales amount and a tax code. The tax code is to be applied to the …
  8. Programming c++

    a sales report. Each record in the file contains a customer's number and name, a sales amount and a tax code. The tax code is to be applied to the sales amount to determine the sales tax due for that sale, as follows: Tax code Sales …
  9. strouds burg high school

    write a program that would prompt the user to enter an indefinite number of sales per day. display the total and average sales and display if the total sales is lower than $500 display "no profit" other display "profit was made
  10. Info Tech

    Write a pascal program that will accept the names of all sales staff members and their total sales for the month. The algorithm must calculate the commission at 3% of their total sales amount. It should also display the name, total …

More Similar Questions