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 05:00
Are special characters that allow you to search for multiple words at the same time.
Answers: 2
Computers and Technology, 22.06.2019 17:40
Gabe wants to move text from one document to another document. he should copy the text, paste the text, and open the new document highlight the text, select the cut command, move to the new document, make sure the cursor is in the correct location, and select the paste command select the save as command, navigate to the new document, and click save highlight the text, open the new document, and press ctrl and v
Answers: 1
Computers and Technology, 22.06.2019 19:30
When creating a presentation in libre office impress, where does the editing of slides take place? a. the slides panel b. the center panel c. the tasks panel, under the masters pages tab d. the tasks panel, under the layouts tab
Answers: 3
Computers and Technology, 23.06.2019 09:20
How to print: number is equal to: 1 and it is odd number number is equal to: 2 and it is even number number is equal to: 3 and it is odd number number is equal to: 4 and it is even number in the console using java using 1 if statement, 1 while loop, 1 else loop also using % to check odds and evens
Answers: 3
Chemistry, 08.02.2021 21:10
History, 08.02.2021 21:10
English, 08.02.2021 21:10
Computers and Technology, 08.02.2021 21:10
Mathematics, 08.02.2021 21:10
English, 08.02.2021 21:10
History, 08.02.2021 21:10