How to create a service for calculating average of three number using loop

How to create a service for calculating average of three number using loop?

If you already know the three numbers, why will you need a loop ? Give us some examples of what you want.

2 Likes