what will be the output of the following program? assume the user responds with a 5 for the first number and…

what will be the output of the following program? assume the user responds with a 5 for the first number and a 4 for the second number. answera = input(\enter a number. \) answerb = input(\enter a second number. \) numbera = int(answera) numberb = int(answerb) result = numbera + numberb / 2 print (\the result is\, result) the result is7.0 the result is 7.0 the result is 4.5 the result is4.5
Answer
Explanation:
Step1: Substitute input values
Given numberA = 5, numberB = 4
Step2: Calculate according to formula
result = 5+4/2 = 5 + 2=7
Answer:
The result is 7.0