Answer
One approach would be to make PI a variable, assign it a value at the
beginning of the program, and then use PI (instead of 3.14) throughout
the program. Then if we wanted to change the value of PI, we would
need only change the assignment statement.
Return to lesson.
Hamlet Project
hamlet@cs.utah.edu