Do yourself a favour and take out the now-redundant TODO comments: if you have done it, you don't need a reminder to do it again!
But ... we do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.
Try it yourself, you may find it is not as difficult as you think! And what you have left is the really easy stuff, most of which you have already done before: you know how to "delcare necesssary variables" - you have to decide what variables you need is all.
You know how to call a function - that was probably covered very recently in your course.
You know how to write a loop.
You know how to print values.
You have probably been told very recently how to delete dynamically created data, but if you can't remember, look in the documentation:
operator delete[] - C++ Reference[
^]
If you meet a specific problem, then please ask about that and we will do our best to help. But we aren't going to do it all for you!