Question: Purpose : Practice using the following logic using a Flow Chart tool. Declare and use variables Simple IF ELSE statement Use Calculations in a program
Purpose:
- Practice using the following logic using a Flow Chart tool.
- Declare and use variables
- Simple IF ELSE statement
- Use Calculations in a program
- Create and apply decision logic using an If / Else structure
Requirements:
Create a flow chart of a Currency Conversion that converts bitcoin to dollars or dollars to bitcoin.
Ask the user if they want to convert:
- Option 1. Bitcoin to Dollars
- Option 2. Dollars to Bitcoin
Based on the user's answer (1 or 2) use an IF statement to process the conversion. You will need to lookup and use the actual current exchange rate for your calculation.
The output should include:
- Some literal text ( write this in " ")
- The type of conversion they selected ( Bitcoin-Dollar, or Dollar-Bitcoin)
- The amount to convert
- The resulting converted amount
- Any other message you would like (ie. Thank you)
- Add an output that reads, "Programmed By : " to every program you submit.
- Comment your code.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
