eng
competition

Text Practice Mode

Pre-Release Material Pseudocode - Task 1

created Saturday May 14, 03:00 by Emma Narvaez


0


Rating

436 words
0 completed
00:00
AvailableDays1 []
AvailableDays2 []
OUTPUT “Hello! Welcome to Emmas’ Wildlife Park! \n Ticket Prices for One-Day Tickets: Adult - $20.00, Child (an adult may bring up two children) - $12.00, Senior - $16.00, Family - $60.00, Group (six people or more, price per person) - $15.00 Ticket Prices for Two-Day Tickets: Adult - $30.00, Child (an adult may bring up two children) - $18.00, Senior - $24.00, Family - $90.00, Group (six people or more, price per person) - $25.50, Extra Attractions for One-Day Tickets: \n Lion Feeding - $2.50, Penguin Feeding - $2.00 Extra Attractions for Two-Day Tickets: Lion Feeding - $2.50, Penguin Feeding - $2.00, Evening Barbecue - $5.00”  
IMPORT Date, TimeDelta
CurrentDate Date.Today()
OUTPUT “Available Days for Booking One-Day Tickets:”
FOR x 1 TO 8  
  OUTPUT CurrentDate + TimeDelta(x)
  AvailableDays1.Append(TimeDelta(x))  
NEXT x
OUTPUT “Available Days for Booking Two-Day Tickets:”
FOR x 1 TO 7  
  OUTPUT CurrentDate + TimeDelta(x)
  AvailableDays2.Append(TimeDelta(x))  
NEXT x
 

saving score / loading statistics ...