int main()
{
int n;
cout << "Type your desired number in:";
cin >> "n";
int factor;
factor = 5 + 5;
int newnumber;
newnumber = n + factor;
cout << "your new number is:";
cout << newnumber << endl;
system("PAUSE");
return 0;
I have just recently started learning to code and I tried getting away with this program however my attempt was foiled and I got this error, also excuse me if I cant seem to place things in a certain format I'm new here :)
error: no match for 'operator>>' in 'std::cin >> "n"'|