Is this considered a Running Total
<p>// Is this considered a Running Total for a user to keep inputting numbers (SUM)</p>

<pre><code>import java.io.*;

public class AddNumbers
{

   public static void main (String [] args) throws IOException
  {
      BufferedReader myInput = new BufferedReader  (new InputStreamReader (System.in));
      String sumNumbers;
      double num;
      double total = 0.0;

      //while ( num != 0) {    
      System.out.println("Hello, please input a number: ");
      sumNumbers = myInput.readLine();
      num = Integer.parseInt (sumNumbers);

      while ( num != 0) {
      //System.out.println(+ num);

      System.out.println("Hello, please input a number: ");
      sumNumbers = myInput.readLine();
      num = Integer.parseInt (sumNumbers);

      total = total + num;
      System.out.println(total);
      }
  }
}
</code></pre>
