Welcome to the Forum! Please read this topic to learn how to post code correctly and other useful tips for newcomers.

We won't do your homework for you.

Thread closed.