A daily activity that could be turned into a function could be arriving to class.
The steps included being akin to:
1. Enter the classroom
2. Put bag into locker
3. Collect pencil case, computer and books
4. Locate desk
5. Take required seat
A function that incorporated these steps would need values included with the function call, such as the class they are entering so they are retrieving the right books for it, however it is a repetitive activity that in a function could be reused. #cserApps1 #function
no plus ones, 0 comments
You must log in to post a comment.