Question: Write a program that converts U . S . Dollar Amounts to different Cryptocurrencies by multiplying US Dollar amounts times conversion factors stored in named
Write a program that converts US Dollar Amounts to different Cryptocurrencies by multiplying US Dollar amounts times conversion factors stored in named constants.
Ask the user to enter the amount of money in US Currency, then display the output of the conversions to the different cryptocurrencies listed below.
The following conversion rates must be stored as named constants:
US Dollar Bitcoin BTC
US Dollar Ethereum Classic ETC
US Dollar Dogecoin DOGE
US Dollar Cardano ADA
Format your currency amounts in fixed point notation with two decimal places of precision, and be sure that the decimal point is always displayed.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
