Curated and Reviewed by
Lesson Planet
This Function Return Values instructional video also includes:
Functions that do calculations usually need to return a value. In this video, a function calculates and returns the total number of donuts eaten based on the number of years someone has been alive. Hopefully, your charges will have eaten quite a few less than the program.
3 Views
0 Downloads
Concepts
Additional Tags
Pros
- Clear explanation of using a function to return the value of a calculation
Cons
- None