topical media & game development
basic-program-solutions-03-Soln3-3.c
? /
basic-program-solutions-03-Soln3-3.c
// Soln3_3.cpp
include <iostream>
include <iomanip>
using std::cout;
using std::setw;
int main()
{
cout << " 2 3 4 5 6 7 8 9 10 11 12\n";
cout << "------------------------------------------------------------------------\n";
for (int i=1; i<13; i++) // rows
{
for (int j=2; j<13; j++) // columns
{
cout << setw(6) << j*i;
}
cout << '\n';
}
return 0;
}
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.