Write a function that calculates both the pre-tax and post-tax earnings for a given individual, given the hourly wage and the weekly hours as inputs. The individual is taxed at 30% if weekly earnings are $2,000 or more, and at 15% if weekly earnings are less than $2,000....
New to InterviewQs? Sign up now.
By proceeding, you agree to our Terms and Conditions and Privacy Policy.
Loading editor...