Write an algorithm
To calculate average of 3 number.
Answers
Answered by
1
Answer:
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 .
Similar questions