Computer Science, asked by shagufta8223, 9 days ago

write a program to imput two decimal numbers and print their sum.

Answers

Answered by samarthkrv
0

Answer:

x = float(input("Enter first decimal number:"))

y = float(input("Enter the second decimal number:"))

total = x + y

print("The sum of the 2 decimal numbers is:" , total)

Explanation:

Similar questions