This isn't a homework service. We're not going to do your homework for you.
If you have a specific question or need something clarified, we can help with that. But don't just post your assignment and ask us to solve it for you.
Am really sorry if am asking for too much.I dont want the work done for me,all I want is an idea about how to approah it.I missed the class and have no clue how to go about it.
If you have access to a computer with a C++ compiler, why not use a program similar to the one above to print the values of all the expressions you're unsure about?