Calculate the income tax for an income of $70k by adhering to the rules below: First $10k: 0 = 0 Next $10k: 10 = 10 Following $10k: 20 = 20 Remaining amount: 30 in C++

C++

🤖 Code Explanation

More problems solved in C++

Download SpellBox today