title: Sum for odd numbers and sum for even numbers
body: <p>Write pseudocode of algorithm reading sequence of numbers diffrent than zero which counts sum of even and odd numbers. <strong>(we don't know how many numbers we have to read)</strong>&lt;-- this part is problematic for me.
  I assumed A is array.</p>
  
  <pre><code>ALGOR(A)
  even &lt;-- 0
  odd &lt;--- 0
  for i &lt;-- 1 to **???**
      n = A[i]
  while n &gt; 0
          do n &lt;-- n - 2
  if n = 0
      then even &lt;-- even + n
  else 
      do odd &lt;-- odd + n
  write(Odd's sum: ), write(odd), write(\n), write(Even's sum: ), write(even)
  </code></pre>
  
  <p>Can anyone help me?</p>