Monday, April 28, 2008

Tutorial 2 - Supplementary - Problem 3



Problem 3:



  • The wizard is surrounded by 3 trolls who want to DESTROY him!

  • The wizard can banish each troll by turning to face each and saying "abracadabra! Away troll!"

  • Then the troll will disappear.


(Rules: Must create 3 new methods, one each, to banish each troll).