Could somebody please find the bugs and amend them? This question is worth 25 points!
-
...
Computers and Technology, 22.02.2021 14:00, nisha87
Could somebody please find the bugs and amend them? This question is worth 25 points!
-
#Tax Calculator with 4 bugs
salary = int(input("Please enter your annual salary: £"))
if salary < 30000
#Salaries under 30000 are taxed at 20%
tax = salary * 0.2
elif salary >= 30000:
#Salaries over 30000 are taxed at 40% for anything over 30000
salary = salary - 30000
tax = salary * 0.4 + 6000
else:
#Salaries over 150000 are taxed at 45% for anything over 150000
salary = salary - 150000
tax = salary * 0.45 + 6400 + 48000
print("Earnings of £",salary,"will attract taxes of £",round(tax,2))
input("Press ENTER to quit")
Answers: 3
Computers and Technology, 23.06.2019 05:20, reeeeeee32
What did creator markus “notch" persson initially call his game
Answers: 1
Computers and Technology, 23.06.2019 12:40, Emilyvite6251
According to the video what are some tasks petroleum engineers perform check all that apply
Answers: 2
Computers and Technology, 23.06.2019 20:00, shaheedbrown06
What software programs are used to to create professional publication? a.) graphics programs b.) word processors c.) page layout programs d.) spreadsheet programs
Answers: 2
Health, 03.11.2020 02:30
History, 03.11.2020 02:30
English, 03.11.2020 02:30