table of n Get link Facebook X Pinterest Email Other Apps // wacp to print table #include <iostream> using namespace std; int main() { int n; cout<<"Enter a positive integer: "; cin>>n; for(inti=1;i<=10;++i) { cout<<n<<" * "<<i<<" = "<<n*i<<endl; } return 0; } Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment