0% found this document useful (0 votes)
6 views

Assignment 03 Pf-Theory

Uploaded by

renie7063
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Assignment 03 Pf-Theory

Uploaded by

renie7063
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Programming Fundamentals

Assignment # 03
Note:
● First think about a problem statement and then write/draw your logic on paper.
● After designing the logic on paper, code the problem statement on any editor (VS Code,
Gedit, etc).
● Copied tasks will be awarded zero marks without any investigation.
● Comment your code properly.
● Assignment After Due Date will not be Accepted.
● Plagiarism of any shape or form will not be tolerated. In case of plagiarism, the
particular question will be marked zero and 50% marks from total obtained
marks will be deducted.

Assignment Question:

Problem: 1 | Restaurant Menu


Write a C++ program to simulate a restaurant order system for "Paradise" takeaway menu.
The program should display the following categories from the menu:

1. Biryanis
2. Starters
3. Kebabs
4. Curries
5. Indian Breads
6. Desserts
7. Beverages

The user will select an item from a category and specify the quantity. The program
should:

1. Display the full menu to the user.


2. Allow the user to select items from any category.
3. Ask for the quantity of the item.
4. After each selection, prompt if the user wants to order another item or complete the
order.
5. Once the order is complete, calculate the total bill (including a 10% tax and a 5%
service charge).
6. Finally, display the breakdown of the bill.
Output:

Note:
You can use functions for Menu.
Submit only the <rollno_yourname.cpp> file, 2 marks will be deducted otherwise. For example
22p-0001_ali-imran.cpp.

Only a single .cpp file is to be submitted. Failure to comply will result in a


deduction of 2 points.

Using any libraries other than <iostream> will result in a deduction of 3


points.

You might also like