The following structure diagrams are incomplete; for each one will need to make the required changes in the correct places.
Changes could include:
- Adding a subroutine's name
- Adding one or more parameters
- Adding a return value
- Completing the arrow by drawing its head – parameters in this diagram are passes downwards; return values move upwards.
Activity 1
GetItem and subroutines called from GetItem
Activity 2
PlayDiceGame and subroutines called from PlayDiceGame
Activity 3
Main and subroutines called from Main