I'm quite new to coding, as you all can see from the clumsy code below. However, looking at this code you can see what I'm getting at. The code basically does what its supposed to, but I would like to write it as a loop to make it more efficient. Could someone maybe point me in the right direction? I have done some digging and thought about recursion, but I haven't been able to figure out how to apply it here. 

```
public static void main(String[] args) {

    double a = 10;
    double b = 2;
    double c = 3;
    double avg = (a + b + c)/3;
    double avg1 = (avg + b + c)/3;
    double avg2 = (avg1 + b + c)/3;
    double avg3 = (avg2 + b + c)/3;
    System.out.println(avg+ "\n" + avg1+ "\n"+ avg2 + "\n"+ avg3);

}

```