#include <string>
#include <iostream>
usingnamespace std;
int main()
{
// DECLARING THE VARIABLES
string name;
double saved, total, quarters, dimes, nickles, pennies, weeks;
std::cout.precision(6);
// Title Screen
cout << "Welcome to the Piggy Bank Program!" << endl;
cout << "Press Enter to Continue";
cin.ignore();
cout << "----------------------------------" << endl;
cout << "Hi, can I please have your name so I can address you properly? " << endl;
cin >> name;
cout << "Your name is " <<name;
cout << "? I like that name!" << endl;
cout << "--------------------------------------------------------------" << endl;
cout << "Okay, I am going to ask you a series of questions regarding amounts of how much you have in coins." << endl;
cout << "--------------------------------------------------------------------------------------------------" << endl;
cout << "How many quarters you have currently?" << endl;
cin >> quarters;
cout << "How many dimes do you have currently?" << endl;
cin >> dimes;
cout << "How many nickles do you have currently?" << endl;
cin >> nickles;
cout << "How many pennies do you have currently?" << endl;
cin >> pennies;
total = dimes + pennies + nickles + quarters;
cout << "The grand total is:" << total << endl;
system("pause");
return 0;
}