Professional Documents
Culture Documents
Keth Iralex Cabalda BES 043 (Module 18)
Keth Iralex Cabalda BES 043 (Module 18)
Writing Functions
1. Write a function for setting a number randomly chosen from the range of 1 to n, where n is the
parameter of the function. Its return type will be the generated number.
-
2. Write a function that will provide the time consumed with reference to the start time and stop time
value to receive. (Refer to topic 27 for the clock function).
1. Body of function
3. Names of function
5. The identifier that the function uses for the value received.
Activity 6: Thinking about Learning