Still working thru Accelerated C++, I've got yet another problem. To solve more problems it would be benifital if I just had the answer as it would help me much more than explaining it and then letting me figure it out.

What I'm trying to do is fairly easy but a few simple niggles are getting in the way. So if someone could complete the following exercise it would be greatly apreciated. This is what I'm trying to do:

Write a program to calculate the squares of int values up to 100. The program should write two colmns: The first lists the value; the second contains the square of that value. Use setw to manage the output so that the values line up in column.

Thanks for the help. I hate asking for solutions to my problems. Someday I want to be someone that helps people like me on this forum.