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, 22.06.2019 18:30
Which of the following is an example of intellectual properly! oa. new version of a novelb. journal of ideasc. pages of a bookood. lines of a poem
Answers: 2
Computers and Technology, 22.06.2019 21:30
Elements such as fonts colors visual structure graphics and the interface of a web page should complement each other to ensure blank
Answers: 3
Computers and Technology, 23.06.2019 21:30
Which of the following includes the three primary network access technologies? dsl, cable modem, broadband lan, wan, man voip, uc, iptv tcp/ip, ftp, dhcp
Answers: 2
Computers and Technology, 24.06.2019 22:00
According to your study unit, what is the main reason that improved human relations skills may improve your grades?
Answers: 1
Physics, 24.05.2021 14:00
Mathematics, 24.05.2021 14:00
Mathematics, 24.05.2021 14:00
Biology, 24.05.2021 14:00
English, 24.05.2021 14:00
Advanced Placement (AP), 24.05.2021 14:00
Mathematics, 24.05.2021 14:00