I have pasted my code in my scratchpad please help me to know why do i get that error...
Pasting code in your scratchpad is too fleeting for it to be of any use to us. Please update your post with the code (using code tags), and we'll see if we can help you.