Answer:
#include <iostream>
using namespace std;
int main()
{
for (int outer = 1; outer <= 10; outer++)
{
for (int inner = 1; inner <= 10; inner++)
{
cout << inner << "\tx\t" << outer << "\t=\t" << inner*outer << endl;
}
cout << endl;
}
}
Explanation:
I think when you replace the tabs by spaces, the layout is more pleasing. Couldn't figure out if you can override the default tab size of 8 characters...