Currently Empty: $0.00
Introduction To Syllabus
0/3
Relation of Real Life and Programming
0/7
Stages of Programming
0/14
Dealing with Constructs
0/24
Question Set 3
0/3
Concept of Validations
0/6
Question Set 4
0/2
Q 2: Write a Pseudocode for an ice cream selling van which inputs flavorname, required scoops and produce output as bill. Flavors are vanilla, chocolate, tutti-fruity. Per scoop price is 45 Rs.
DECLARE FLAVORNAME: STRING
DECLARE SCOOPS: INTEGER
CONSTANT PRICE: INTEGER ← 45
DECLARE TOTAL: INTEGER
OUTPUT “ENTER FLAVOUR NAME:”
INPUT FLAVOURNAME
OUTPUT “ENTER SCOOPS REQUIRED:”
INPUT SCOOPS
TOTAL ← SCOOPS* PRICE
OUTPUT “”
OUTPUT “=======INVOICE=======”
OUTPUT “FLAVOUR NAME:”, FLAVORNAME
OUTPUT “SCOOPS:”,SCOOPS
OUTPUT “PER SCOOP PRICE:”,PRICE
OUTPUT “BILL:”,TOTAL
OUTPUT “===================”
Create same python code here :