how to calculate average programing code example
Example: how to calculate average programing
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