Write a algorithm for find a difference between 2 numbers, make a algorithm
Answers
Answered by
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
Social Sciences,
1 month ago
Math,
3 months ago
Math,
3 months ago
English,
9 months ago
Math,
9 months ago