1

I started c++ a few days ago and I am trying to make this program for my math class just to test myself.

This is my code.

```
#include <iostream>
using namespace std;
int main ()
{
int goldennumber;
int finalnumber;
int ratio;
cout<<"Welcome to Easy Golden Ratio Finder!\n";
cout<<"\n";
cout<<"\n";
cout<<"\t Please enter the length of the rectangle: \n";
cin>>"goldennumber";
cin.get();
cin.ignore();
ratio = 0.618;
finalnumber = goldennumber * ratio;
cout<<"Your number is: "<< finalnumber <<"\n";
return 0;
}
```

I'm trying to make this console program where you enter a number and the program does an equation for you and you get the final number.

I tried compiling and this are the error I get:

- error: ambiguous overload for 'operator>>' in std::cin >> "goldennumber"'

Can someone explain what I did wrong and what this error means so I know how to fix it in the future?