Write an algorithm to print sum, product,and different of 2 number
Answers
Answered by
0
Answer:
declare the integers a, b, s, d, p, and float r.
give the input value numbers to 'a' and 'b'.
calculate the sum of a, b and assign it to variable s,
calculate the difference of a, b and assign it to variable d,
calculate the product of a, b and assign it to variable p,
Answered by
0
Answer:
okay
Explanation:
declare the integers a, b, s, d, p, and float r.
give the input value numbers to 'a' and 'b'.
calculate the sum of a, b and assign it to variable s,
calculate the difference of a, b and assign it to variable d,
calculate the product of a, b and assign it to variable p
Similar questions