1. Engineering
  2. Computer Science
  3. fileuse usseinelridadownloadsass01w19pdf 10 currency 7 points write a program that...

Question: fileuse usseinelridadownloadsass01w19pdf 10 currency 7 points write a program that...

Question details

file:///Use usseinelrida/Downloads/Ass01,W19.pdf 10. Currency (7 points) Write a program that will convert U.S. dollar amounts to Japanese yen and to euros, storing the conversion factors in the constants YEN PER DOLLAR and EUROS PER DOLLAR. To the most up-to-date exchange rates, search the Internet using the term currency exchange rate If you cannot find the most recent exchange rates, use the following: get 1 Dollar= 98.93 Yen 1 Dollar-0.74 Euros Format your currency amounts in fixed-point notation, with two decimal places of be sure the decimal point is always displayed. 11. Interest Earned (9 points) Assuming there are no deposits other than the original investment, the balance in a savings account after one year may be calculated as Amount Principal *(1+ Rate/T Principal is the balance in the savings account, Rate is the interest rate, and T is the number of times the interest is compounded during a year (T is 4 if the interest is compounded quarterly) Write a program that asks for the principal, the interest rate, and the number of times the interest is compounded. It should display a report similar to Interest Rate: 4.25% Times Compounded Principal: s 1000.00 Interest: 43.34 Amount in Savings: S 1043.34
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution