Circle bug hunt


Download this workbook. It shows:

Wrong output

The user enters the diameter of a circle, and the program is supposed to compute the area of the circle, and the volume of a sphere with that diameter. But the output's wrong.

Fix it.


  • Two screen shots of you using the debugger in VBE to inspect the values of the variables as the program runs. Each screen shot should have the code window, and the locals window.
  • The fixed workbook.
Where referenced