Write algorithm
To calculate the difference of any two numbers.
Answers
Answered by
1
Explanation:
Write an algorithm to find the difference of two numbers A and B where a is greater than b
If ( a < b ) then there will be no answer .
f ( a = b ) then all the numbers greater than a are the answer so there will be infinite solutions possible.
If ( a > b ) Suppose x is an answer to our equation. Then x divides (a – b).
Answered by
0
Explanation:
Firt declare 2 variable a, b.
Input nos a, b
Print sum=a+b.
Print difference=a-b
Print product=a*b.
Similar questions
English,
20 hours ago
Hindi,
20 hours ago
English,
20 hours ago
Math,
1 day ago
History,
1 day ago
English,
8 months ago
Computer Science,
8 months ago
CBSE BOARD XII,
8 months ago