<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Exercise 9-6: Array Operations</title>
	<atom:link href="http://www.learningprocessing.com/exercises/chapter-9/exercise-9-6/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.learningprocessing.com</link>
	<description>A Beginner's Guide to Programming Images, Animation, and Interaction by Daniel Shiffman</description>
	<lastBuildDate>Thu, 09 Feb 2012 16:27:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Anonymous</title>
		<link>http://www.learningprocessing.com/exercises/chapter-9/exercise-9-6/comment-page-1/#comment-20693</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Tue, 03 Jan 2012 17:12:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningprocessing.com/?page_id=917#comment-20693</guid>
		<description>This is incrementing i, the counter  for the loop:

i++;

This is a different statement, not at all the same as the above.  It is adding the elements of the array themselves.

nums[i] += nums[i+1];

</description>
		<content:encoded><![CDATA[<p>This is incrementing i, the counter  for the loop:</p>
<p>i++;</p>
<p>This is a different statement, not at all the same as the above.  It is adding the elements of the array themselves.</p>
<p>nums[i] += nums[i+1];</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Baez Amada</title>
		<link>http://www.learningprocessing.com/exercises/chapter-9/exercise-9-6/comment-page-1/#comment-20686</link>
		<dc:creator>Baez Amada</dc:creator>
		<pubDate>Tue, 27 Dec 2011 19:10:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningprocessing.com/?page_id=917#comment-20686</guid>
		<description>// Add to each number the number that follows in the array. Skip the last value in the array.
for (int i = 0; i &lt; nums.length-1; i++)  {
  nums[i] += nums[i+1];why is it that when we use a for loop we ask it to do i++ ( which is i = i + 1)we still have to tell it nums[i] += nums[i+1]; isnt this the same thing. why do we have to tel processing twice that we want to add I++ </description>
		<content:encoded><![CDATA[<p>// Add to each number the number that follows in the array. Skip the last value in the array.<br />
for (int i = 0; i &lt; nums.length-1; i++)  {<br />
  nums[i] += nums[i+1];why is it that when we use a for loop we ask it to do i++ ( which is i = i + 1)we still have to tell it nums[i] += nums[i+1]; isnt this the same thing. why do we have to tel processing twice that we want to add I++</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: guest</title>
		<link>http://www.learningprocessing.com/exercises/chapter-9/exercise-9-6/comment-page-1/#comment-20687</link>
		<dc:creator>guest</dc:creator>
		<pubDate>Tue, 27 Dec 2011 19:10:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningprocessing.com/?page_id=917#comment-20687</guid>
		<description>// Add to each number the number that follows in the array. Skip the last value in the array.
for (int i = 0; i &lt; nums.length-1; i++)  {

  nums[i] += nums[i+1];why is it that when we use a for loop we ask it 
to do i++ ( which is i = i + 1)we still have to tell it nums[i] += 
nums[i+1]; isnt this the same thing. why do we have to tel processing 
twice that we want to add I++      </description>
		<content:encoded><![CDATA[<p>// Add to each number the number that follows in the array. Skip the last value in the array.<br />
for (int i = 0; i &lt; nums.length-1; i++)  {</p>
<p>  nums[i] += nums[i+1];why is it that when we use a for loop we ask it<br />
to do i++ ( which is i = i + 1)we still have to tell it nums[i] +=<br />
nums[i+1]; isnt this the same thing. why do we have to tel processing<br />
twice that we want to add I++</p>
]]></content:encoded>
	</item>
</channel>
</rss>

