Question: Write a Java program and flowchart Investing and using BitCoin can trigger capital gains taxes. Write a BitCoin Capital Gains calculator. In the program, ask
Write a Java program and flowchart
Investing and using BitCoin can trigger capital gains taxes.
Write a BitCoin Capital Gains calculator. In the program, ask the user for their approximate yearly gross income, the amount of their bitcoin sale, and the amount they paid for the bitcoin sold.
If the capital gains from the sale of their bitcoin are negative, then they do not pay capital gains taxes. If the total capital gain plus their yearly salary exceeds 150,000, then capital gains are taxed at 35%, otherwise, their capital gains are taxed at 25%.
Based on the rules above, display to the user the tax on their capital gain. If they have a capital loss, then display the message that there are no capital gains taxes to pay.
Also, create a Flowchart of this program and include this in your submission
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
