In this task I'm using OOP principals in CPP to do the task2. this task is from the training phase of MIA technical team in Alexandria University.