4
tions required
(d)_ Write an algorithm for the part of Task 2 thal inputs the tickets and extra altracti
then calculates the total cost of the booking.
Assume that the booking is for a single day.
Use pseudocode, programming statements or a flowchart.
TetalCast.<<...0... “eV AMANR EL Que
Ad Q... . people.S Oe
Claidel bickets. <0 Extn. Oooo
bicke!
roma bickeks..<.{ a :
Output. “please snter.dfac.o.gcour..Kekek Bse.anrer 2
Dngut:..oumbec..
LE.wumbex..2.2.4.. Then.
sondatpank.’
ae Input. people.
- Tetollost..< Tota\Cestt.,
Elsen . a
vombkpsak. Cosa. seacinsg, Adulb. tickets? Enber.0.iF none?
Trpuat. dud. ticles...
Totaiest..