I have done his coding but there is an error. I could not identify it. can some one please help me?
I see it is completely ok unless I know what it intends to do. So take some pain of explaining what you are trying and what is the issue instead of attaching complete code with a statement it has error.
This is the question for the coding that I've sent to you.
Again. Show us what you have done and where you are stuck. Taking a picture of the question will not help buddy.