Computer science/What is a function? What is the difference between the calling function and the called function? What is the scope of a variable? Why should you avoid
using global variables?
Pin It
Discussion Question
What is a function? What is the difference between the calling function and the called function? What is the scope of a variable? Why should you avoid using global
variables?
Homework
There are two components to this week’s homework.
Part 1
This assignment uses functions and conditional structures.
To complete this activity, please refer to Programming Problems 5.2, Page 202, #1.
Part 2
You will be writing a program using an array.
To complete this activity, please refer to Programming Problems 6.2, Page 249, #1.