Hello srikanth.

Welcome to the forums.

No one will do your assignment for you without first showing you have made an effort.

Please let us know where you are stuck or post your code, we...