Write an algorithm and draw a flow chart to print the product and quotient of two
numbers 45 and 9. Use the variables M and N.
Answers
Answer:
==>> The algorithm is painfully simple: Add the two numbers and divide the sum by 2.
==>>> If you insist on having a flow chart, write
==>> Add the two numbers and divide the sum by 2
and draw a rectangle around it.
===>>> (I see that most of the other answers complicate the problem by treating input and output as additional steps, but those aren’t in the problem statement.)
Answer:
==>> The algorithm is painfully simple: Add the two numbers and divide the sum by 2.
==>>> If you insist on having a flow chart, write
==>> Add the two numbers and divide the sum by 2
and draw a rectangle around it.
===>>> (I see that most of the other answers complicate the problem by treating input and output as additional steps, but those aren’t in the problem statement.)