Step Into C · Module exam · Debugging
Exam: The Broken Payroll
Three bugs, one debugger, and payday is tomorrow.
- ~35 minto solve
- 3hints
- membersaccess
- Clanguage
Part of Step Into C. The full module exam, its missions and the real compiler and debugger are in the course. Try a free lesson first to see how it works.
The payroll program below compiles and looks reasonable. It is wrong in three different ways, and the staff get paid tomorrow. Nobody will tell you where the bugs are: run it, compare the output with what it should be, and use the debugger to find out why it does what it does. Fix the bugs. Do not rewrite the program.
In this module exam
- The brief
- What this exam tests
Missions
- Make payday right