Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Databases And Information Systems Uropean Conference Adbis 2020 Lyon France August 25 27 2020 Proceedings Lncs 12245

Authors: Jerome Darmont ,Boris Novikov ,Robert Wrembel

1st Edition

3030548317, 978-3030548315

More Books

Students also viewed these Databases questions

Question

3. Discuss the advantages and disadvantages of offshoring jobs.

Answered: 1 week ago