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

CS101 Assignment 3 Solution

Uploaded by

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

CS101 Assignment 3 Solution

Uploaded by

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

Cs101 Asignment 3

Student id:bc200409159

Pseudo Code
1 BEGIN
2 Show Menu BEGIN
3 SHOW FLAVOR GET n
4 SHOW SCOOP PRICES = pr INITIALIZE i=0
5 SHOW " Which Flavor do you want?' while i<n
6 INPUT FALVOUR = Fl PRINT i
i=i+l
7 PRINT F END
8 SHOW "How many scoop want'
9 INPUT scoop = sc
10 PRINT S
11 SHOW "How much quantity you want sir!"
12 INPUT Quantity = Qty
13CALCULATE ItemBill = pr • Sc • Qty
14 PRINT ItemBill
15 Total Bill=0
16 CALCULATE TotalBill = ItemBill + TotalBill
17 SHOW •Do you want anymore"
18 If (yes) THEN
19 GOTO 5
20 ELSE
21 SHOW "Here is your Bill"
22 SHOW TotalBill
23 CALCULATE Discount= TOtalBill *5/100
24 CALCULATE GST 17% =TOtalBill *17/100
25 CALCULATE NetBill = (TOtalBill + GST)- Discount
26 SHOW NetBill
27 Exit

You might also like