Getting Started with GDB
Learn to execute the code using the GNU Debugger.
#include<iostream> using namespace std; int main() { int Table = 73; cout << "Table: "; cin>>Table; cout << Table << " x 1 = " << Table*1 << endl; cout << Table << " x 2 = " << Table*2 << endl; cout << Table << " x 3 = " << Table*3 << endl; cout << Table << " x 4 = " << Table*4 << endl; cout << Table << " x 5 = " << Table*5 << endl; cout << Table << " x 6 = " << Table*6 << endl; cout << Table << " x 7 = " << Table*7 << endl; cout << Table << " x 8 = " << Table*8 << endl; cout << Table << " x 9 = " << Table*9 << endl; cout << Table << " x 10 = " << Table*10<< endl; return 0; }
Step-by-step execution of a table printing program