Ex-3 (6points):
Write a program that asks the usersto enter a salary.
Depending upon the salary value,calculate the tax using different tax rates (0.05, 0.10 or0.15).
You should declare the tax rates assymbolic constants.
If the salary is < $30,000
tax = salary * 0.05
print both salary and tax
If the salary is >= $30,000 and< $60,000
tax = salary * 0.10
print both salary andtax
If the salary is >= $60,000
tax = salary * 0.15
print both salary andtax
Expert Answer
An answer will be send to you shortly.
PayPal Gateway not configured
PayPal Gateway not configured