@@ -0,0 +1,639 @@
+import java.util.*;%0A%0Apublic class ValuesInLoop %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A        Scanner keyboard = new Scanner(System.in);%0A        Random rand = new Random();%0A        System.out.print(%22I will add up the numbers you give me.%22);%0A        int nextNumber = 0;%0A        int total = 0;%0A        do %7B%0A            System.out.print(%22%5Cr%5CnNumber: %22);%0A            nextNumber = keyboard.nextInt();%0A            total += nextNumber;%0A            System.out.print(%22The total so far is %22 + total);%0A        %7D while (nextNumber != 0);%0A        if (nextNumber == 0) %7B%0A            System.out.print(%22The total is %22 + total);%0A        %7D%0A    %7D%0A%7D%0A

Create ValuesInLoop.java