It would help if you would use the code tags. When entering your formatted code, hi-lite the code block, then press that "code" button you see below under the "Instant UBB Code". Then, when displayed, it's MUCH easier to read.
Second, what exactly do you mean by "it doesn't run"? Does it error out? does it seem to go into an infinite loop? Does it even compile?
The more details you can give on the exact nature of your problem, the easier it is to help.
Never ascribe to malice that which can be adequately explained by stupidity.
Joined: Apr 27, 2007
I have modified the code, can anyone please help me.
Joined: Oct 13, 2005
What is your program doing, what is it supposed to do, and what is the logic behind it?