write in algorithms 5. To find the sum of a square of two numbers m and n. (Hint: m + n ) please help me
Answers
Answered by
0
Answer:
Algorithm:
start.
initialize two variables a,b as int.
input a,b, value from the user.
start if a is equal to b the initialize sum as int.
add a and b,store the value in sum variable.
print sum.
else initialize product as int.
multiply a with b and store the result in product variable.
Similar questions