#include <iostream>
usingnamespace std;
int main()
{
int number = 0;
cout <<"Please enter a number: ";
cin >> number;
for (int n = 1; n<=10; n++){
cout <<n <<" x " <<number <<" = " <<(n*number) <<endl; //the given number will be multiplied for 1 to 10
}
system ("PAUSE"); //if you are compiling with windows, otherwise it won't compile
return 0;