Computer Science, asked by apoorvas2004, 8 months ago

write an an algorithm to find sum and average of four numbers please give the answer detailed and step by step

Answers

Answered by sanagulnazmominaiman
13

Explanation:

Algorithm. Algorithm of this program is very easy − START Step 1 → Collect integer values in an array A of size N Step 2 → Add all values of A Step 3 → Divide the output of Step 2 with N Step 4 → Display the output of Step 3 as average STOP.Pseudocode. ... Implementation. ... Output.

Answered by diksha30508
5

Explanation:

Algorithm of this program is very easy − START Step 1 → Collect integer values in an array A of size N Step 2 → Add all values of A Step 3 → Divide the output of Step 2 with N Step 4 → Display the output of Step 3 as average STOP.

Similar questions