Question: C++ Program I am planning a visit overseas and I need a program to convert prices in the U.S. to equivalent prices in Europe. Specifically,
C++ Program
I am planning a visit overseas and I need a program to convert prices in the U.S. to equivalent prices in Europe. Specifically, I need to convert U.S. dollars and cents per pound and ounce to Euros and cents per kilo.The relevant conversion factors are:
1 U.S. dollar is equal to 0.6938 Euros. (Note: Please use this rate even if the actual rate today is different)
There are one hundred cents to the Euro. 1 pound is equal to 0.4536 kilos.
There are 16 ounces per pound.
Sample Dialog
Welcome to Colin Goble's Conversion Program.
What is the weight of your item in pounds and ounces?
Pounds: 9 Ounces: 13
What is the price in dollars and cents: $16.85
The price of this item is $1.72 per pound.
This is equivalent to 2.63 Euros per kilo.
Thank you for using Colin Goble's Conversion Program.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
