I don't have a C++ compiler with me now, not sure about if syntax is right. Give this a try.This should give you a loop for int from 1 to 9 and print out a 9x9 multiplication table.
Hope this help. Note: the editor here took all the line indents away, so you need to realign the code according to the While loop.
int main()
{
int x, y;
x = 1;
while x <= 10
{
y = 1
while y <= x
{
cout <<x*y<<"\t";
y = y+1;
}
cout << endl;
x = x+1;
}
}