1. You will use code tags when using this forum. It is part of the posting guidelines.
TIP: When you are writing your question, there is a button on the tool bar that wraps the [code] tags around your copy/pasted code. It helps a bunch. Its the button with a '#' on it.
More on tags. They're cool. Check'em out.
2. You will *NOT* issue orders to the volunteers here.
find error in below program
There is no question here. There is no politeness, curtesous... not so much as a "please" or "Can you help me find the problem" Just a short blunt order: Find the error.
This site is not where you get your homework done for you. It is not where others do your work for you. It is not a group of people who follow your commands.
You couldn't bother to describe the purpose of the program... the *expected* results... the *actual* results... Or how the actual results were in some way wrong from the expected results. You couldn't bother describing any error messages (exceptions) that were raised in Visual Studio. You just ordered people to take your code, create a project and debug your mess for you.
Well let me tell you right now: It doesn't work like that. Do it again and you will be banned.
Please visit the Posting Guidelines for
tips on how to ask questions to get the best help.