Error: expected ‘;’ before ‘}’ token }

hello, I can’t seem to find the solution to my problem…, could someone help me
here is the code:
int main() {

double pesos;

double reais;

double soles;

double dollars;

std::cout <<“enter number of colombian pesos:/n”;

std::cin >> pesos ;


Is that your entire code? Doesn’t seem to be an issue there if you included iostream.
The one thing not going to work as you expect is the escape character, / forward-slash is not the same as the escape char \.

For future reference: [How to] Format code in posts

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.