Print the table of N number. it's not workint. please check it

#include
using namespace std;
int main()
{
int n;
int a;
int x=1;
cin>>n;
while(x<=10)
{
a=x*n;
x=x+1;
cout<<x “X” n = a<<endl;
}
return 0;
}

@Anku47 you have written wrong syntax for cout, it should be like this
while(x<=10)
{
a=x*n;
cout<<x<<"X"<<n<<"="<<a<<endl;
x=x+1;
}

#include using namespace std; int main() { int n; int a; int x=1; cin>>n; while(x<=10) { a=x*n; cout<<x<< “X” <<n “=” <<a<<endl; x=x+1; } return 0; }

it is showing error sir

@Anku47 look at my previous reply and write your output format as that.