Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Create an application that converts U.S. dollars amounts to pounds, euros, and y

ID: 3624663 • Letter: C

Question

Create an application that converts U.S. dollars amounts to pounds, euros, and yen. The following conversion factors are not accurate, but you can use them in your application:
1 dollar= 0.68 pound
1 dollar= 0.83 euro
1 dollar= 108.36 yen

IN the code declare named constants to represent the conversion factors for the different types of currency. For example, you might declare the conversion factor for yen as follows:

Const dblYEN_FACTOR As Double = 108.36

Used the named constants in the mathematical conversion statements. Use the following test data to determine wheter the application is calculating properly:

Dollars
$100.00 =

Pounds: 68
Euros: 83 
Yen: 10,836

$25.00 =

Pounds: 17
Euros: 20.75
Yen: 2,709

$1.00 =

Pounds: 0.68
Euros: 0.83
Yen: 108.36

Explanation / Answer

Here you go. Tested and working! #include using namespace std; const double d2y=108.36; const double d2e=0.83; const double d2p=0.68; void main() { double amount; coutamount; cout
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote