Difference: CSC121F2023Lab13Hint2 ( vs. 1)

Revision 12023-06-26 - cathybareiss

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="CSC121F2023Lab13"

Hint for the methods to execute the different commands

  • All the methods for the commands (except two) basically involved getting data from the user and then calling the appropriate command(s) from Inventory and/or Item.
  • Two commands do not require input from the user, so they don't need the keyboard
  • Two commands require a simple count-controlled loop (to do the number of times equal to the length of Inventory)
  • Each loop needs a selection statement based on if the item is below the control level.
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback