Concept Flow - Constants and literals
Start
Define literal value
Assign to constant variable
Use constant in code
Attempt to change constant?
Yes→Error: Cannot modify constant
No
Program runs using constant
End
This flow shows how a literal value is assigned to a constant variable, which cannot be changed later in the program.