#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
double dollars;
double euros;
double yen;
double pesos;
cout <<"\nEnter dollars to convert:";
cin >>dollars;
cout <<"\nEnter Dollars to Euros:";
cin >>euros;
cout <<"Dollars to Yen:";
cin >>yen;
cout <<"Dollars to Prsos:";
cin >>pesos;
cout <<"\nSelect conversion type:";
cout <<"1 - Dollars to Euros";
cout <<"2 - Dollars to Yen";
cout <<"3 - Dollars to Pesos";
cout <<"?"
cin >>dollars
double converted;
if(response==1)
{
converted=euros*dollars;
}
else if(response==2)
{
converted=yen*dollars;
}
else if(response==3)
{
converted=pesos*dollars;
}
cout << fixed << setprecision(2);
cout <<"\nConverted amount:$"<<converted<<endl<<endl;
return 0;
}