Computer Science, asked by tommyvecctery37811, 3 months ago

Write a algorithm for find a difference between 2 numbers, make a algorithm

Answers

Answered by Anonymous
2

1) Assign 2 variables a and b

2) Take two input from the user so that it will be assigned to a and b

3) Use a function which can add these numbers or use addition operator

E. G

Python

a=input("Enter a number")

b=input("Enter another number")

sum= sum(a,b)

#or sum= a+b

Print(sum)

Similar questions