>the class has just started using C++ so only simple commands will be acceptable
This implies that you want us to do it for you. How presumptuous! Why don't you start by asking a pointed question that DOESN'T start by pasting your assignment.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
Better yet, why don't I lock the post, let you read the Announcement regarding homework assignments , and let you repost a question specifically asking for help on a particular part of code you've written.
We're here to help you learn, not to cheat.
alc6379
Cookie... That's it
2,820 posts since Dec 2003
Reputation Points: 186
Solved Threads: 147