<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Comments on snippet: 'IncDec2Numbers'</title>
<link>http://snipplr.com</link>
<description>Snipplr comments feed'</description>
<language>en-us</language>
<pubDate>Thu, 20 Jun 2013 15:39:17 GMT</pubDate>
<item>
<title>OdnetninI said on 9/8/12</title>
<link>http://snipplr.com/view/62109/incdec2numbers/</link>
<description><![CDATA[ Version for All systems:

#include 

int main()
{
int i, x, y;
char action;

Begin:

printf("Enter the x: ");
scanf("%d", &amp;x);
getchar();

printf("Enter the y: ");
scanf("%d", &amp;y);
getchar();

do
{
printf("x, y = %d, %d\n", x, y);
scanf("%s", &amp;action);
if(action == '+')
{
x++;
y++;
}
else if(action == '-')
{
x--;
y--;
}
}
while((action == '-') || (action == '+'));

goto Begin;

getchar();
return 0;
} ]]></description>
<pubDate>Sat, 08 Sep 2012 21:39:18 GMT</pubDate>
<guid>http://snipplr.com/view/62109/incdec2numbers/</guid>
</item>
</channel>
</rss>