Circle bug hunt

Tags

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.

Upload:

  • 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.
Attachments
Where referenced