I may have noticed that for some programming languages, users can re-execute a program and restores its variables with its assigned values.
Let's say first execution output:
1
User exits the program.
Then user re-executes the stored variable with its assigned value, but wants to update its value by using an increment.
The second execution output:
2
User exits the program again.
Can anyone provide me some examples?