Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started