diff --git a/2-variables/piggy-bank/currency.cpp b/2-variables/piggy-bank/currency.cpp index 9383f5a..19bf4cd 100644 --- a/2-variables/piggy-bank/currency.cpp +++ b/2-variables/piggy-bank/currency.cpp @@ -1,5 +1,8 @@ #include + +using namespace std; + int main() { @@ -9,17 +12,17 @@ int main() double dollars; - std::cout << "πŸ‡²πŸ‡½ Enter number of Pesos: "; - std::cin >> p; + cout << "πŸ‡²πŸ‡½ Enter number of Pesos: "; + cin >> p; - std::cout << "πŸ‡¬πŸ‡Ή Enter number of Guatemalan Quetzals: "; - std::cin >> q; + cout << "πŸ‡¬πŸ‡Ή Enter number of Guatemalan Quetzals: "; + cin >> q; - std::cout << "πŸ‡ΈπŸ‡» Enter number of Salvadoran Colons: "; - std::cin >> c; + cout << "πŸ‡ΈπŸ‡» Enter number of Salvadoran Colons: "; + cin >> c; dollars = 0.049 * p + 0.1305 * q + 0.1144 * c; - std::cout << "Total USD = $" << dollars << "\n"; + cout << "Total USD = $" << dollars << "\n"; }