Write down the algorithm of getting the average of 3 numbers A,B,C
Answers
Answered by
1
step 1- input three numbers A,B,C
step 2- Take sum of all the variables/numbers and store it in sum (sum=A+B+C)
step 3- Divide sum by three and store in average variable (average=sum/3)
step 4- Display average.
Similar questions