Concept Flow - Variable scope in functions
Start Program
Define Global Variable
Call Function
Inside Function
Access Global?
Use global var
Function Ends
Back to Global
Program Ends
This flow shows how a program defines a global variable, calls a function, and how variables inside the function can be local or access the global variable.