Posts : 216 Join date : 2011-06-17 Location : Rawalpindi
Subject: Table of any Number in C++ Thu Oct 27, 2011 5:24 am
Table of any Number in C++
#include #include void main(void) { cout << "Allah is Great!\n"; cout << "Please enter any number to see its table?"; int a,b; cin >> a; cout << "The Table of " << a << " is:\n" ; for(b=1;b<=10;b++) cout << a << "x" << b << "=" << a*b << "\n"; getch(); }