Write an algorithm to find average of 3 numbers.
Answers
Answered by
5
Hey there this is your answer...!!!
".
Following are the algorithm of the sum and the average of three numbers is given below.Explanation:Step 1: Start.Step 2 :Read the three number suppose "a","b","c" form the user.Step 3: Declared a variable "sum" and "Avg".Step 4 : sum=a+b+c;Step 5: Avg=sum/3.Step 6:Display "sum " and "Avg".Step 7 :End .
hope this helps...!!!
Answered by
3
Explanation:
step 1: start
step 2: read the three numbers suppose a, b, c form the user
step 3: declare a variable sum and avg
step: 4 sum=a plus b plus c
step 5: avg=sum/3
step 6: display sum and avg
step 7: end
please mark my answer as the brainliest
Similar questions