table code
//code for table of any number #include <iostream> using namespace std ; int main (){ // for (int i=1; i<=10; i++) // { // cout<<5*i<<endl; // } // return 0; int ks; cout << "enter the number whose table u want to print " << endl; cin >> ks; for ( int i = 1 ; i <= 10 ; i ++ ) { cout << ks << " times " << i << " is equal to " << ks * i << endl; } }