You will see the program execute statement by statement. You can choose to make each successive statement execute yourself, or you can have it run automatically but slowly, with a delay after each to let you see the result.
As the loop in each program runs, you will be able
An exercise | Exploration on your own |
||||||
---|---|---|---|---|---|---|---|
Here is an exercise to help you see the workings of some programs in C++.It will take you through all 5 of the programs opposite.Should you need to visit directly the exercise for each program, here they are (but note! each successive program is a bit harder than the previous one, so you should take them in order.) |
OR |
if you just want to trace through a specific program, choose from this list:
|