<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Comments on snippet: 'IncDec2Numbers'</title>
    <description>Snipplr comments feed</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Sat, 13 Jun 2026 14:30:55 +0000</lastBuildDate>
    <item>
      <title>OdnetninI said on 08/Sep/2012</title>
      <link>https://snipplr.com/view/62109/incdec2numbers</link>
      <description>&lt;p&gt;Version for All systems:&#13;
&#13;
#include &#13;
&#13;
int main()&#13;
{&#13;
int i, x, y;&#13;
char action;&#13;
&#13;
Begin:&#13;
&#13;
printf("Enter the x: ");&#13;
scanf("%d", &x);&#13;
getchar();&#13;
&#13;
printf("Enter the y: ");&#13;
scanf("%d", &y);&#13;
getchar();&#13;
&#13;
do&#13;
{&#13;
printf("x, y = %d, %d\n", x, y);&#13;
scanf("%s", &action);&#13;
if(action == '+')&#13;
{&#13;
x++;&#13;
y++;&#13;
}&#13;
else if(action == '-')&#13;
{&#13;
x--;&#13;
y--;&#13;
}&#13;
}&#13;
while((action == '-') || (action == '+'));&#13;
&#13;
goto Begin;&#13;
&#13;
getchar();&#13;
return 0;&#13;
}&lt;/p&gt;</description>
      <pubDate>Sat, 08 Sep 2012 21:39:18 UTC</pubDate>
      <guid>https://snipplr.com/view/62109/incdec2numbers</guid>
    </item>
  </channel>
</rss>
