can't get my program to let me enter anything into it
I'm brand new at this and i'm trying to write a program that appeared simple at first. I can get the program to let me enter from the keyboard on the first question that is to be answered but when i get to the second one it skips right over it. What in the world am i doing wrong. i'm about to slit my wrists.
This is what i have:
cout << "Please indicate the currency to which you need to convert," << "\n";
cout << "by entering the exact name from the list above: " << "\n";
cin >> money.response1;
cout << "Enter the amount of currency that needs to be exchanged: "
cin >> money.amount;
the first one where it asks you to enter a currency i can enter on the screen but when it gets to the one where it is the amount, it skips right over it. to me they both look the same.
any help would be greatly appreciated.
thanks in advance.