Write a program to print the absolute difference between the two given numbers. (Absolute difference is the difference without the negative sign)
Expert's answer
a=int(input("Enter first number:"))
b=int(input("Enter second number:"))
if a>=b:
print("Absolute Difference is",a-b)
else:
print("Absolute Difference is",b-a)
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot