Thomas Vinter▸ Understanding Functions (Task 1)


Daily activity to be replaced by a function:
Classroom setup and pack up.

Function: setupRoom()
1. Open door
2. Turn on lights
3. Open windows
4. Put down chairs
5. if under 25 degrees turn on fans, else turn on AC
6. Turn on projector
7. Welcome students

Function: packupRoom()
1. Put up chairs
2. Close windows
3. Turn off projector
4. Turn off AC/Fans
5. Turn off lights
6. Close door
7. Dismiss students

#cserApps1


G+ Comments

no plus ones, 0 comments

    + There are no comments

    Add yours

    Leave a Reply