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

Spring 2020 - CS101 - 3

The document provides instructions for Assignment #03 for the Introduction to Computing (CS101) course. It outlines rules for marking including submission deadline and format requirements. The objective of the assignment is to increase students' learning about assignment statements, control structures like if-statements and loops. Students are asked to make a bill calculator application for a fast food restaurant that calculates subtotals, applies 19% GST and offers a 5% discount if the total is over 1000 rupees. The question statement provides steps to design the program, including showing a menu, getting quantity inputs, calculating prices and totals, applying GST and discounts, and displaying the final payment and calculations. Code must be submitted in .doc or .docx format.

Uploaded by

kurulus osman
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views

Spring 2020 - CS101 - 3

The document provides instructions for Assignment #03 for the Introduction to Computing (CS101) course. It outlines rules for marking including submission deadline and format requirements. The objective of the assignment is to increase students' learning about assignment statements, control structures like if-statements and loops. Students are asked to make a bill calculator application for a fast food restaurant that calculates subtotals, applies 19% GST and offers a 5% discount if the total is over 1000 rupees. The question statement provides steps to design the program, including showing a menu, getting quantity inputs, calculating prices and totals, applying GST and discounts, and displaying the final payment and calculations. Code must be submitted in .doc or .docx format.

Uploaded by

kurulus osman
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

Introduction to Computing (CS101) Total marks = 20

Assignment # 03 Deadline Date


05th of Aug 2020
Spring 2020
Please carefully read the following instructions before attempting assignment.

RULES FOR MARKING


It should be clear that your assignment would not get any credit if:

 The assignment is submitted after the due date.


 The submitted assignment does not open or file is corrupt.
 Strict action will be taken if submitted solution is copied from any other student or from
the internet.

You should consult the recommended books to clarify your concepts as handouts are not
sufficient. You are supposed to submit your assignment in .doc or docx format. Share your Code
in MS Word file. Any other formats like scan images, PDF, zip, rar, ppt and bmp etc will not be
accepted.

OBJECTIVE
Objective of this assignment is to increase the learning capabilities of the students about:
 Assignment statement
 Control structure (if-statement)
 Control structures (loops)

NOTE
No assignment will be accepted after the due date via email in any case (whether it is the case of
load shedding or internet malfunctioning etc.). Hence refrain from uploading assignment in the
last hour of deadline. It is recommended to upload solution file at least two days before its closing
date.

If you find any mistake or confusion in assignment (Question statement), please consult with your
instructor before the deadline. After the deadline, no queries will be entertained in this regard.

For any query, feel free to email at: [email protected]


Question Statement 20 marks
You are required to make a bill calculator application for a fast food restaurant. The restaurant
offers some foods, that can be ordered by customers. Customer can order any number of items.
You should design a program to calculate bill accordingly.

Program should add 19% GST to the stated order by your customer. If the customer’s bill is
greater than 1000 rupees, the restaurant will give 5% discount on complete calculated bill.

You program must show the complete order details along with GST calculations, Discount (if
applicable) and final amount.

To design/code, please follow the stated steps:

1. Your program must show menu items on the program startup:


a) Pizza (Rs 999)
b) Burger (Rs 250)
c) Sandwich (Rs 150)
d) Paratha Roll (200)
2. Program must ask quantity for each item and calculate its total price.
3. Program will add 19% GST to the bill and Calculate total Bill.
4. Program will offer/give 5% discount if total bill is greater than 1000 Rs.
5. Show the payment along with all calculation (price, GST, discount) in proper format.

Note: Please share your code in MS Word (doc/docs) file format.

You might also like