Write a python program that asks the user to enter integer values of a, b, c, d and then calculates the result of the following equation = ((a*b)/(c+d))-(2+a)
Answers
Answered by
1
Answer:
a = input("Enter value for a :> ")
b = input("Enter value for a :> ")
c = input("Enter value for a :> ")
d = input("Enter value for a :> ")
ans = ((a*b)/(c+d))-(2+a)
print(ans)
Explanation: use input() to take input form user and do your calculation it works on the rule of BODMAS
Similar questions