Instruction
Create a new C++ file. Type the following code:
#include
using namespace std;
int main()
{
return 0;
}//end main
Compile your project. Be sure there are no errors
Part Three:
2. Add to your main function code to do the following:
a. Convert US dollars to European Euros and Japanese Yen.
b. Tell the user what your program is doing, and then prompt for a dollar amount.
c. Display a heading, and columns that include: the dollar amount, the conversion rates
you are using, and the converted amounts
d. Format your currency amounts in fixed-point notation (as whole values and cents), with
2 decimal places of precision.
e. Use the internet to find the current exchange rates.
f. Sample output might look like this:
=================================================
Dollar Rate Euro Rate Yen
=================================================
$5.00 .6936 3.47 113.2 566.00