C Programming Forum

Ask Question   UnAnswered
Home » Forum » C Programming       RSS Feeds

Billing program- please help

  Asked By: Jeff    Date: Nov 20    Category: C Programming    Views: 9749

write a program to process orders at a coffee shop. Customers can order tea and/or coffee. A cup of tea costs $1.5 and a cup of coffee costs $1.75. Customers can order multiple cups of both coffee and tea. For each order, your program needs to keep track of the following information: Customer name, number of tea cups ordered, number of coffee cups ordered, and total cost. When calculating total cost, please include a tax of 13%. Your program needs to print a receipt to the console window with the above information. You must use a structure to represent an order. You must use a function that accepts a pointer to the structure as a parameter to calculate total cost



No Answers Found. Be the First, To Post Answer.

Didn't find what you were looking for? Find more on Billing program- please help Or get search suggestion and latest updates.