title: Java Variable Trace Form
body: <p>For an assignment I am supposed to complete a table tracing the values of myNum and mySum as well as any output based off of the following code segment:</p>
  
  <pre><code>int myNum = 11;
  int mySum = 0;
  
  while (myNum &gt;= 0) 
  {
  myNum--;
  mySum += myNum * 5;
  }
  
  System.out.println ("myNum: " + myNum);
  System.out.println ("mySum: " + mySum);
  </code></pre>
  
  <p>I'm fairly new to Java and I'm having some trouble understanding what this segment will produce. Can anyone help clarify?</p>