Chandler-Tax
CodeChefOpen on judge ↗
Nowadays Chandler is earning a lot in his office as he went to Tulsa away from Monica so he is fearful of the IRS that they might raid at Chandler's Office so you have to help him out so to calculate his income tax return so that he can tackle the IRS. Let his earning be $N$ Tax % be $P$ The taxation system is as follows: $N$ below 2000 tax is 5% 2000<$N$<10000 tax is 7% 10000<$N$<
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start