www.vustudents.ning.com

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

CS201 Assignement No 1 Due Date 02 Nov, 2011

Please see attached file for assignment

Assignment :-

Problem Statement:     Virtual Restaurant

You are required to write a program for BILLING SYSTEM of a virtual restaurant. The basic idea is that by entering the meal price, your billing system will calculate the Sales Tax, Total amount and Complement offer upon that meal. The program will process the billing of undetermined number for customers. At the end, program will show sum of total amount of all the customers.

Detailed Description:

Billing System should work as under:

• You are required to take meal price as input from user.
• After getting this input, program will calculate the sales tax on it as given below:

 Meal Price Sales Tax applicable Less than or equal to 1000 No sales Tax on it. Greater than 1000 and less than or equal to 2000 1% of meal price. Greater than 2000 2% of meal price.

• After calculating the sales tax, program will calculate and display the total amount of the meal according to given formula:

Total Amount = Meal_Price + Sales_Tax

• Now, program will prompt to serve the complement sweet dish to customer on the basis of total amount as given below:

 Total Amount Sweet Dishes Less than 1000 Candies Greater than or equal to 1000 and less than 2000 Sweet Bread Greater than or equal to 2000 and less than 3000 Pudding Greater than or equal to 3000 and less than 4000 Cake Other amounts Trifle

• After displaying the information of one customer, the program should ask the user if he/she again wants to process the bill of another customer. The user will be given two options. If user selects “Y or y”, the program will start the processing of another customer. If user selects “N or n”, the billing system exits.

• Before exiting from billing system, this program should display the total number of customers it processed, and sum of total amount of all the customers.

Sample Output:

Views: 285

Attachments:

Top Trends

1

2

3

4

Sharal khan (sk)

5

------------------------------------

Latest Activity

++ACHJ-- added a discussion to the group MGT503 Principles of Management

MGT 503 Assignment 1 solution \\ 100% ok solution with detailed discussion

7 minutes ago
++ACHJ-- joined + M.Tariq Malik's group

MGT503 Principles of Management

10 minutes ago
41 minutes ago
Dream♥Girl updated their profile
1 hour ago
Fratino and HAROON "DOLPHIN POLICE" joined + M.Tariq Malik's group

EDU303 Child Development

2 hours ago
Aasma added a discussion to the group PAK301 Pakistan Studies

2 hours ago