The program asks the user to input a number, multiplies it by 0.5 and adds it to the total variable if it is greater than 5, otherwise it prints that the input is invalid. However, there are errors in the program that need to be fixed.
Find and fix all the errors in the following program- userInput - int.pdf
1. Find and fix all the errors in the following program. userInput = int (input ("Enter a number: "))
if userInput > 5 : total = total + userInput * 0.5 print("Total: ", total) else: print("The input value
is invalid.")