Can someone help me what is wrong with this program?

Posted 07 November 2008 - 08:15 PM

This code is straight out of from C# Programming by Barbara Doyle
When I tried to debug it's not giving me the result that is on the textbook. I tried to figure out what is wrong with it for like an hour and i cant figure it out. can someone help me what is wrong with this? thank you.