Gunjan Jadon wrote:I used this code. I got swapping values but I want to put these values in excel sheet also. How can I do that. Please Help me. Thanks in advance.
praveen kumaar wrote:First of all take a look at this--->how to use code-tags.
Yes the format is correct though your code need some indentation and comments,it would make your code readable.comment will let us know what you are doing or like to do.keep these things in mind for the next time.
Gunjan Jadon wrote:Is it correct format?
praveen kumaar wrote:i am mentioning some part of your code.did you not think that the marked lines is kind of unnecessary thing in your code.
are you not comfortable with this approach..