@@ -0,0 +1,547 @@
+import java.io.BufferedReader;%0Aimport java.io.IOException;%0Aimport java.io.InputStreamReader;%0A%0Apublic class Main %7B%0A    public static void main(String args%5B%5D) throws IOException %7B%0A        InputStreamReader ir = new InputStreamReader(System.in);%0A        BufferedReader in = new BufferedReader(ir);%0A%0A        float a, b, c;%0A%0A        a = Float.parseFloat(in.readLine());%0A        b = Float.parseFloat(in.readLine());%0A        c = Float.parseFloat(in.readLine());%0A%0A        System.out.printf(%22MEDIA = %25.1f%5Cn%22, (a * 2.0 + b * 3.0 + c * 5.0) / 10.0);%0A    %7D%0A%7D%0A

Solve Average 2 in java