@@ -0,0 +1,431 @@
+import java.util.Scanner;%0A%0Apublic class Main %7B%0A    public static void main(String args%5B%5D) %7B%0A        Scanner sc = new Scanner(System.in);%0A%0A        double a, b, c, s = 0.0;%0A%0A        while (sc.hasNextDouble()) %7B%0A            a = sc.nextDouble();%0A            b = sc.nextDouble();%0A            c = sc.nextDouble();%0A%0A            s += b * c;%0A        %7D%0A%0A        System.out.printf(%22VALOR A PAGAR: R$ %25.2f%5Cn%22, s);%0A%0A        sc.close();%0A    %7D%0A%7D%0A

Solve Simple Calculate in java