Assignment 3 F22 - Update1
Assignment 3 F22 - Update1
Programming Fundamentals-CS-1104
Fall 2022
Assignment 03
Use appropriate variable (global, static etc.) and default arguments if needed
Call these functions in main with different values and validate.
Modification 1: modify the above program as follow and save as version Q2v1
a. Use global only if it is constant used in multiple functions or in case of variable if
access is required in all functions, otherwise use local variables (static if needed)
b. If a certain value need to be modified in a function, use call by reference