Write a Python program to sum of two given integers. However, if the sum is between 15 to 20 it will return 20.
Answers
Answered by
0
Step-by-step explanation:
a=int(input("ENTER FIRST NO. : "))
b=int(input("ENTER SECOND NO. : "))
c=a+b
if c>=15 and c<=20:
print("SUM IS : ",20)
else:
print("SUM IS : ",c)
Similar questions