int main()
{
for ( int i = 1; i < 10; i++ ){
for ( int j = 1; j < 65 - 8*( i - 1 ); j++ )
cout << " ";
for ( int k = 1; k < i + 1; k++ ){
cout << k << "*" << i << "=" << k*i;
if ( i*k >9 ){
for ( int h = 1; h < 3; h++ )
cout << " ";
}
else {
for ( int h = 1; h < 4;h++ )
cout << " ";
}
}