draw a flowchart to read two different numbers and find the sum , product and difference of the numbers .
Answers
Answered by
4
Explanation:
You can omit the computation of the average, change the read statement to “Read x1, x2, x3, …, x20”, change the next box to “S = x1 + x2 + x3 +, …, + x20”, “P = x1 * x2 * x3 *, …, *x20”.
By the time you get to 20 values, you probably want to switch to a flowchart that involves looping. A sum is computed in this way here:
Hope this helps and does not mislead or confuse you
Similar questions