Instructional Video

Function Return Values, Computer Programming

Curated and Reviewed by Lesson Planet

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 years someone has been alive. Hopefully, your charges will have eaten much less than the program.

3 Views 1 Download
Classroom Considerations
  • This video is hosted on YouTube
Pros
  • Clear explanation of using a function to return the value of a calculation
Cons
  • None