<?xml version='1.0' encoding="utf-8"?>
      <rss version='2.0'>
      <channel>
      <title>Форум на Исходниках.RU</title>
      <link>https://forum.sources.ru</link>
      <description>Форум на Исходниках.RU</description>
      <generator>Форум на Исходниках.RU</generator>
  	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=251660&amp;view=findpost&amp;p=2084302</guid>
        <pubDate>Mon, 06 Oct 2008 20:04:02 +0000</pubDate>
        <title>Найти все нечетные числа в двумерном массиве</title>
        <link>https://forum.sources.ru/index.php?showtopic=251660&amp;view=findpost&amp;p=2084302</link>
        <description><![CDATA[TEMENb: ппц, на два листра расписали )]]></description>
        <author>TEMENb</author>
        <category>ПОМОЩЬ СТУДЕНТАМ</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=251660&amp;view=findpost&amp;p=2081766</guid>
        <pubDate>Thu, 02 Oct 2008 11:01:05 +0000</pubDate>
        <title>Найти все нечетные числа в двумерном массиве</title>
        <link>https://forum.sources.ru/index.php?showtopic=251660&amp;view=findpost&amp;p=2081766</link>
        <description><![CDATA[#Nii: <strong class='tag-b'>ufo</strong> <strong class='tag-b'>maxim84_</strong><br>
<br>
Спасибо большое -)<br>
все терь работает]]></description>
        <author>#Nii</author>
        <category>ПОМОЩЬ СТУДЕНТАМ</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=251660&amp;view=findpost&amp;p=2081484</guid>
        <pubDate>Thu, 02 Oct 2008 05:49:17 +0000</pubDate>
        <title>Найти все нечетные числа в двумерном массиве</title>
        <link>https://forum.sources.ru/index.php?showtopic=251660&amp;view=findpost&amp;p=2081484</link>
        <description><![CDATA[ufo: <div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">#include &#60;stdio.h&#62;</div><div class="code_line">#define MATRIX_ROW 3</div><div class="code_line">#define MATRIX_COL 3</div><div class="code_line">&nbsp;</div><div class="code_line">int main(void)</div><div class="code_line">{</div><div class="code_line">&nbsp;&nbsp; &nbsp;int i, j;</div><div class="code_line">&nbsp;&nbsp; &nbsp;</div><div class="code_line">&nbsp;&nbsp; &nbsp;int array[MATRIX_ROW][MATRIX_COL];</div><div class="code_line">&nbsp;&nbsp; &nbsp;</div><div class="code_line">&nbsp;&nbsp; &nbsp;for(i = 0; i &#60; MATRIX_ROW; i++)</div><div class="code_line">&nbsp;&nbsp; &nbsp;{</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;for(j = 0; j &#60; MATRIX_COL; j++)</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;{</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;printf( &quot;input number of cell[%d][%d]&quot;, i ,j );</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;scanf(&quot;%d&quot;, &amp;array[i][j] );</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;}</div><div class="code_line">&nbsp;&nbsp; &nbsp;}</div><div class="code_line">&nbsp;</div><div class="code_line">&nbsp;&nbsp; &nbsp;for(i = 0; i &#60; MATRIX_ROW; i++)</div><div class="code_line">&nbsp;&nbsp; &nbsp;{</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;for(j = 0; j &#60; MATRIX_COL; j++)</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;{</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if( array[i][j]%2 )</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;printf(&quot;%d\n&quot;, array[i][j] );</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;}</div><div class="code_line">&nbsp;&nbsp; &nbsp;}</div><div class="code_line">&nbsp;&nbsp; &nbsp;</div><div class="code_line">&nbsp;&nbsp; &nbsp;return 0;</div><div class="code_line">}</div></ol></div></div></div></div><script>preloadCodeButtons('1');</script><br>
<br>
рабочий пример.<br>
до этого - <span class="tag-color tag-color-named" data-value="red" style="color: red">;</span> после цикла. Невнимательность :-(]]></description>
        <author>ufo</author>
        <category>ПОМОЩЬ СТУДЕНТАМ</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=251660&amp;view=findpost&amp;p=2081460</guid>
        <pubDate>Thu, 02 Oct 2008 05:24:39 +0000</pubDate>
        <title>Найти все нечетные числа в двумерном массиве</title>
        <link>https://forum.sources.ru/index.php?showtopic=251660&amp;view=findpost&amp;p=2081460</link>
        <description><![CDATA[#Nii: <div class='tag-quote'><span class='tag-quote-prefix'>Цитата</span> <div class='quote '>а 337 разве четное? </div></div><br>
<br>
Дело не в этом, дело в том что я другие цифры вводил]]></description>
        <author>#Nii</author>
        <category>ПОМОЩЬ СТУДЕНТАМ</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=251660&amp;view=findpost&amp;p=2081452</guid>
        <pubDate>Thu, 02 Oct 2008 05:13:15 +0000</pubDate>
        <title>Найти все нечетные числа в двумерном массиве</title>
        <link>https://forum.sources.ru/index.php?showtopic=251660&amp;view=findpost&amp;p=2081452</link>
        <description><![CDATA[ufo: Ага. Должно. Но оно не работает:<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">#include &#60;stdio.h&#62;</div><div class="code_line">#define MATRIX_ROW 3</div><div class="code_line">#define MATRIX_COL 3</div><div class="code_line">&nbsp;</div><div class="code_line">int main(void)</div><div class="code_line">{</div><div class="code_line">&nbsp;&nbsp; &nbsp;int i, j;</div><div class="code_line">&nbsp;&nbsp; &nbsp;int array[MATRIX_ROW][MATRIX_COL];</div><div class="code_line">&nbsp;&nbsp; &nbsp;</div><div class="code_line">&nbsp;&nbsp; &nbsp;for(i = 0; i &#60; MATRIX_ROW; i++)</div><div class="code_line">&nbsp;&nbsp; &nbsp;{</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;for(j = 0; j &#60; MATRIX_COL; j++)</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;{</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;printf( &quot;input number of cell[%d][%d]&quot;, i ,j );</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;scanf(&quot;%d&quot;, &amp;array[i][j] );</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;}</div><div class="code_line">&nbsp;&nbsp; &nbsp;}</div><div class="code_line">&nbsp;</div><div class="code_line">&nbsp;&nbsp; &nbsp;</div><div class="code_line">&nbsp;&nbsp; &nbsp;printf(&quot;i = %d\n&quot;, i);</div><div class="code_line">&nbsp;&nbsp; &nbsp;i = 0;</div><div class="code_line">&nbsp;&nbsp; &nbsp;for(i = 0; i &#60; MATRIX_ROW; i++);</div><div class="code_line">&nbsp;&nbsp; &nbsp;{</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;printf(&quot;i = %d\n&quot;, i);</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;for(j = 0; j &#60; MATRIX_COL; j++)</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;{</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;printf(&quot;cell[%d][%d] = %d\n&quot;, i, j, array[i][j]);</div><div class="code_line">// &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if( array[i][j]%2 )</div><div class="code_line">// &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;printf(&quot;%d\n&quot;, array[i][j] );</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;}</div><div class="code_line">&nbsp;&nbsp; &nbsp;}</div><div class="code_line">&nbsp;&nbsp; &nbsp;</div><div class="code_line">&nbsp;&nbsp; &nbsp;return 0;</div><div class="code_line">}</div></ol></div></div></div></div><br>
<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">bash-3.1$ ./a.out </div><div class="code_line">input number of cell[0][0]1</div><div class="code_line">input number of cell[0][1]2</div><div class="code_line">input number of cell[0][2]3</div><div class="code_line">input number of cell[1][0]4</div><div class="code_line">input number of cell[1][1]5</div><div class="code_line">input number of cell[1][2]6</div><div class="code_line">input number of cell[2][0]7</div><div class="code_line">input number of cell[2][1]8</div><div class="code_line">input number of cell[2][2]9</div><div class="code_line">i = 3</div><div class="code_line">i = 3</div><div class="code_line">cell[3][0] = 3</div><div class="code_line">cell[3][1] = 1</div><div class="code_line">cell[3][2] = -1078338208</div></ol></div></div></div></div> <br>
<br>
<span class="tag-color tag-color-named" data-value="gray" style="color: gray"><span class='tag-size' data-value='7' style='font-size:7pt;'>Добавлено <time class="tag-mergetime" datetime="2008-10-02T05:13:30+00:00">02.10.08, 05:13</time></span></span><br>
:wall:]]></description>
        <author>ufo</author>
        <category>ПОМОЩЬ СТУДЕНТАМ</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=251660&amp;view=findpost&amp;p=2081444</guid>
        <pubDate>Thu, 02 Oct 2008 04:57:31 +0000</pubDate>
        <title>Найти все нечетные числа в двумерном массиве</title>
        <link>https://forum.sources.ru/index.php?showtopic=251660&amp;view=findpost&amp;p=2081444</link>
        <description><![CDATA[maxim84_: <div class='tag-quote'><span class='tag-quote-prefix'>Цитата</span> <div class='quote '>Почему-то в ответе всегда выводится - &quot;337&quot; и все</div></div><br>
независимо от того какие данные поступают?<br>
<br>
<div class='tag-quote'><span class='tag-quote-prefix'>Цитата</span> <div class='quote '>Вот интересует такой вопрос &quot;Найти все нечетные числа в двумерном массиве&quot;</div></div><br>
а 337 разве четное? :blink: <br>
<br>
<br>
я не проверял, но вроде должно все работать... :wacko:]]></description>
        <author>maxim84_</author>
        <category>ПОМОЩЬ СТУДЕНТАМ</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=251660&amp;view=findpost&amp;p=2081420</guid>
        <pubDate>Thu, 02 Oct 2008 03:50:34 +0000</pubDate>
        <title>Найти все нечетные числа в двумерном массиве</title>
        <link>https://forum.sources.ru/index.php?showtopic=251660&amp;view=findpost&amp;p=2081420</link>
        <description><![CDATA[#Nii: вот весь код<br>
<br>
<div class='tag-quote'><span class='tag-quote-prefix'>Цитата</span> <div class='quote '>#include &quot;iostream.h&quot;<br>
#include &quot;stdio.h&quot;<br>
#include &quot;conio.h&quot;<br>
#define MATRIX_ROW 3<br>
#define MATRIX_COL 3<br>
main()<br>
{int i,j;<br>
int array[MATRIX_ROW][MATRIX_COL];<br>
<br>
for(i = 0; i &lt; MATRIX_ROW; i++)<br>
{<br>
  for(j = 0; j &lt; MATRIX_COL; j++)<br>
  {<br>
        printf( &quot;input number of cell[%d][%d]&quot;, i ,j );<br>
        scanf(&quot;%d&quot;, &amp;array[i][j] );<br>
  }<br>
}<br>
<br>
for(i = 0; i &lt; MATRIX_ROW; i++);<br>
{<br>
  for(j = 0; j &lt; MATRIX_COL; j++)<br>
  {<br>
     if( array[i][j]%2 )<br>
        printf(&quot;%d&#092;n&quot;, array[i][j] );<br>
   }<br>
}<br>
}</div></div> <br>
<br>
<span class="tag-color tag-color-named" data-value="gray" style="color: gray"><span class='tag-size' data-value='7' style='font-size:7pt;'>Добавлено <time class="tag-mergetime" datetime="2008-10-02T03:52:34+00:00">02.10.08, 03:52</time></span></span><br>
<div class='tag-quote'><span class='tag-quote-prefix'>Цитата</span> <div class='quote '>OFFTOP: у тебя подпись не скомпилится  (C/C++ регистрозависимый язык)</div></div>,<br>
о чорт значит далеко мне до мЭгапрограммиста.. а я думаю почему на работает..  :)]]></description>
        <author>#Nii</author>
        <category>ПОМОЩЬ СТУДЕНТАМ</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=251660&amp;view=findpost&amp;p=2081389</guid>
        <pubDate>Wed, 01 Oct 2008 22:15:28 +0000</pubDate>
        <title>Найти все нечетные числа в двумерном массиве</title>
        <link>https://forum.sources.ru/index.php?showtopic=251660&amp;view=findpost&amp;p=2081389</link>
        <description><![CDATA[ufo: <strong class='tag-b'>#Nii</strong>, код с студию, полностью.<br>
Только в теке CODE=cpp, пожалуйста.<br>
<br>
OFFTOP: у тебя подпись не скомпилится  ;) (C/C++ регистрозависимый язык)]]></description>
        <author>ufo</author>
        <category>ПОМОЩЬ СТУДЕНТАМ</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=251660&amp;view=findpost&amp;p=2081353</guid>
        <pubDate>Wed, 01 Oct 2008 20:10:46 +0000</pubDate>
        <title>Найти все нечетные числа в двумерном массиве</title>
        <link>https://forum.sources.ru/index.php?showtopic=251660&amp;view=findpost&amp;p=2081353</link>
        <description><![CDATA[#Nii: Почему-то в ответе всегда выводится - &quot;337&quot; и все]]></description>
        <author>#Nii</author>
        <category>ПОМОЩЬ СТУДЕНТАМ</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=251660&amp;view=findpost&amp;p=2081342</guid>
        <pubDate>Wed, 01 Oct 2008 19:58:03 +0000</pubDate>
        <title>Найти все нечетные числа в двумерном массиве</title>
        <link>https://forum.sources.ru/index.php?showtopic=251660&amp;view=findpost&amp;p=2081342</link>
        <description><![CDATA[maxim84_: ого... :wacko:  ты зачем все переврал?<br>
<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">#define MATRIX_ROW 10</div><div class="code_line">#define MATRIX_COL 10</div><div class="code_line">&nbsp;</div><div class="code_line">int i,j;</div><div class="code_line">int array[MATRIX_ROW][MATRIX_COL];</div><div class="code_line">&nbsp;</div><div class="code_line">for(i = 0; i &#60; MATRIX_ROW; i++)</div><div class="code_line">{</div><div class="code_line">&nbsp;&nbsp;for(j = 0; j &#60; MATRIX_COL; j++)</div><div class="code_line">&nbsp;&nbsp;{</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;printf( &quot;input number of cell[%d][%d]&quot;, i ,j );</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;scanf(&quot;%d&quot;, &amp;array[i][j] );</div><div class="code_line">&nbsp;&nbsp;}</div><div class="code_line">}</div><div class="code_line">&nbsp;</div><div class="code_line">for(i = 0; i &#60; MATRIX_ROW; i++)</div><div class="code_line">{</div><div class="code_line">&nbsp;&nbsp;for(j = 0; j &#60; MATRIX_COL; j++)</div><div class="code_line">&nbsp;&nbsp;{</div><div class="code_line">&nbsp;&nbsp; &nbsp; if( array[i][j]%2 )</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;printf(&quot;%d\n&quot;, array[i][j] );</div><div class="code_line">&nbsp;&nbsp; }</div><div class="code_line">}</div></ol></div></div></div></div>]]></description>
        <author>maxim84_</author>
        <category>ПОМОЩЬ СТУДЕНТАМ</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=251660&amp;view=findpost&amp;p=2081309</guid>
        <pubDate>Wed, 01 Oct 2008 19:09:27 +0000</pubDate>
        <title>Найти все нечетные числа в двумерном массиве</title>
        <link>https://forum.sources.ru/index.php?showtopic=251660&amp;view=findpost&amp;p=2081309</link>
        <description><![CDATA[#Nii: <div class='tag-quote'><span class='tag-quote-prefix'>Цитата</span> <div class='quote '>ну а подумать??<br>
не? не хочется?</div></div><br>
<br>
Я бы с удовольствием, но не можется. не чем. -)<br>
Щас посмотрю <br>
<br>
<span class="tag-color tag-color-named" data-value="gray" style="color: gray"><span class='tag-size' data-value='7' style='font-size:7pt;'>Добавлено <time class="tag-mergetime" datetime="2008-10-01T19:23:48+00:00">01.10.08, 19:23</time></span></span><br>
Ответ почему-то не выводится, а в какую часть программы сие ставить надо? <br>
<br>
<span class="tag-color tag-color-named" data-value="gray" style="color: gray"><span class='tag-size' data-value='7' style='font-size:7pt;'>Добавлено <time class="tag-mergetime" datetime="2008-10-01T19:32:55+00:00">01.10.08, 19:32</time></span></span><br>
<div class='tag-quote'><span class='tag-quote-prefix'>Цитата</span> <div class='quote '>#include &quot;iostream.h&quot;<br>
#include &quot;stdio.h&quot;<br>
#include &quot;conio.h&quot;<br>
<br>
int main(int argc, char* argv[])<br>
{<br>
    int x,y;<br>
    int i,j;<br>
    float matrix[100][100];<br>
    float el;<br>
    printf(&quot;Input x&quot;);<br>
    scanf(&quot;%d&quot;, &amp;x);<br>
    printf(&quot;Input Y&quot;);<br>
    scanf(&quot;%d&quot;, &amp;y);<br>
<br>
    for (j=0; j&lt;y;j++)<br>
        for (i=0; i&lt;x;i++)<br>
    {<br>
        printf(&quot;Input [%d,%d] element &quot;,i,j);<br>
        scanf(&quot;%f&quot;,&amp;el);<br>
        matrix[i][j]=el;<br>
    }<br>
<br>
    printf(&quot;We have a matrix &#092;n&#092;r&quot;);<br>
for (j=0; j&lt;y;j++)<br>
    {<br>
        for (i=0; i&lt;x;i++)<br>
        {<br>
            el=matrix[i][j];<br>
            printf(&quot;%.4f &quot;,el);<br>
        }<br>
        printf(&quot;&#092;n&#092;r&quot;,el);<br>
    }<br>
}</div></div><br>
Вот эту можно использовать для этого]]></description>
        <author>#Nii</author>
        <category>ПОМОЩЬ СТУДЕНТАМ</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=251660&amp;view=findpost&amp;p=2081304</guid>
        <pubDate>Wed, 01 Oct 2008 18:58:57 +0000</pubDate>
        <title>Найти все нечетные числа в двумерном массиве</title>
        <link>https://forum.sources.ru/index.php?showtopic=251660&amp;view=findpost&amp;p=2081304</link>
        <description><![CDATA[maxim84_: ну а подумать??<br>
не? не хочется?<br>
<br>
ну елси не хочется:<br>
то как то вот:<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">for(i = 0; i &#60; 5; i++)</div><div class="code_line">&nbsp;&nbsp;for(j = 0; j &#60; 5; j++)</div><div class="code_line">&nbsp;&nbsp;{</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;printf( &quot;input number of cell[%d][%d]&quot;, i ,j );</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;scanf(&quot;%d&quot;, array[i][j] );</div><div class="code_line">&nbsp;&nbsp;}</div></ol></div></div></div></div>]]></description>
        <author>maxim84_</author>
        <category>ПОМОЩЬ СТУДЕНТАМ</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=251660&amp;view=findpost&amp;p=2081299</guid>
        <pubDate>Wed, 01 Oct 2008 18:54:04 +0000</pubDate>
        <title>Найти все нечетные числа в двумерном массиве</title>
        <link>https://forum.sources.ru/index.php?showtopic=251660&amp;view=findpost&amp;p=2081299</link>
        <description><![CDATA[#Nii: <div class='tag-quote'><span class='tag-quote-prefix'>Цитата</span> <div class='quote '>#include&lt;stdio.h&gt;<br>
#include&lt;math.h&gt;<br>
main()<br>
{int i,j;<br>
int array[5][5]={{0,1,2,3,4},<br>
		 {0,1,2,3,4},<br>
		 {0,1,2,3,4},<br>
		 {0,1,2,3,4}};<br>
<br>
for(i = 0; i &lt; 5; i++)<br>
{<br>
  for(j = 0; j &lt; 5; j++)<br>
  {<br>
     if( array[i][j]%2 )<br>
        printf(&quot;%d&#092;n&quot;, array[i][j] );<br>
   }<br>
}}</div></div><br>
<br>
Вот это идет и правильно выдает, только теперь надо запрос поставить чтоб в матрице можно было свои числа ставить, а он потом бы из них выбирал]]></description>
        <author>#Nii</author>
        <category>ПОМОЩЬ СТУДЕНТАМ</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=251660&amp;view=findpost&amp;p=2081294</guid>
        <pubDate>Wed, 01 Oct 2008 18:49:39 +0000</pubDate>
        <title>Найти все нечетные числа в двумерном массиве</title>
        <link>https://forum.sources.ru/index.php?showtopic=251660&amp;view=findpost&amp;p=2081294</link>
        <description><![CDATA[maxim84_: ой...ошибся:<br>
<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">int array[5][5]={{0,1,2,3,4},</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {0,1,2,3,4},</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {0,1,2,3,4},</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {0,1,2,3,4},</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {0,1,2,3,4}};</div></ol></div></div></div></div>]]></description>
        <author>maxim84_</author>
        <category>ПОМОЩЬ СТУДЕНТАМ</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=251660&amp;view=findpost&amp;p=2081286</guid>
        <pubDate>Wed, 01 Oct 2008 18:38:10 +0000</pubDate>
        <title>Найти все нечетные числа в двумерном массиве</title>
        <link>https://forum.sources.ru/index.php?showtopic=251660&amp;view=findpost&amp;p=2081286</link>
        <description><![CDATA[#Nii: Щас проверю <br>
<br>
<span class="tag-color tag-color-named" data-value="gray" style="color: gray"><span class='tag-size' data-value='7' style='font-size:7pt;'>Добавлено <time class="tag-mergetime" datetime="2008-10-01T18:44:28+00:00">01.10.08, 18:44</time></span></span><br>
не,<br>
<br>
<div class='tag-quote'><span class='tag-quote-prefix'>Цитата</span> <div class='quote '>#include&lt;stdio.h&gt;<br>
#include&lt;math.h&gt;<br>
main()<br>
int i,j;<br>
int array[5][5]={{0,1,2,3,4,5},<br>
                 {0,1,2,3,4,5},<br>
                 {0,1,2,3,4,5},<br>
                 {0,1,2,3,4,5}};<br>
<br>
for(i = 0; i &lt; 5; i++)<br>
{<br>
  for(j = 0; j &lt; 5; j++)<br>
  {<br>
     if( array[i][j]%2 )<br>
        printf(&quot;%d&#092;n&quot;, array[i][j] );<br>
   }<br>
}</div></div><br>
<br>
сия прога не пашет<br>
язык программировани bc3 borland c++ 3.1 <br>
<br>
<span class="tag-color tag-color-named" data-value="gray" style="color: gray"><span class='tag-size' data-value='7' style='font-size:7pt;'>Добавлено <time class="tag-mergetime" datetime="2008-10-01T18:45:39+00:00">01.10.08, 18:45</time></span></span><br>
Ошибка too many initializers<br>
<br>
{0,1,2,3,4,5}, в этих строках]]></description>
        <author>#Nii</author>
        <category>ПОМОЩЬ СТУДЕНТАМ</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=251660&amp;view=findpost&amp;p=2081273</guid>
        <pubDate>Wed, 01 Oct 2008 18:23:33 +0000</pubDate>
        <title>Найти все нечетные числа в двумерном массиве</title>
        <link>https://forum.sources.ru/index.php?showtopic=251660&amp;view=findpost&amp;p=2081273</link>
        <description><![CDATA[maxim84_: :o <br>
так?<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">int i,j;</div><div class="code_line">int array[5][5]={{0,1,2,3,4,5},</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {0,1,2,3,4,5},</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {0,1,2,3,4,5},</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {0,1,2,3,4,5}};</div><div class="code_line">&nbsp;</div><div class="code_line">for(i = 0; i &#60; 5; i++)</div><div class="code_line">{</div><div class="code_line">&nbsp;&nbsp;for(j = 0; j &#60; 5; j++)</div><div class="code_line">&nbsp;&nbsp;{</div><div class="code_line">&nbsp;&nbsp; &nbsp; if( array[i][j]%2 )</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;printf(&quot;%d\n&quot;, array[i][j] );</div><div class="code_line">&nbsp;&nbsp; }</div><div class="code_line">}</div></ol></div></div></div></div>]]></description>
        <author>maxim84_</author>
        <category>ПОМОЩЬ СТУДЕНТАМ</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=251660&amp;view=findpost&amp;p=2081261</guid>
        <pubDate>Wed, 01 Oct 2008 18:06:26 +0000</pubDate>
        <title>Найти все нечетные числа в двумерном массиве</title>
        <link>https://forum.sources.ru/index.php?showtopic=251660&amp;view=findpost&amp;p=2081261</link>
        <description><![CDATA[#Nii: Привет всем<br>
<br>
Вот интересует такой вопрос &quot;Найти все нечетные числа в двумерном массиве&quot;, как вот это задачу сделать?<br>
есть пару исходников ближе к нему<br>
<br>
Поиск над главной диагональю<br>
#include&lt;stdio.h&gt;<br>
#include&lt;math.h&gt;<br>
main()<br>
{int M[5][5],i,j,s;<br>
for (i=0;i&lt;=4;i++)<br>
{ printf(&quot;stroka #%i: &quot;,i);<br>
for(j=0;j&lt;=4;j++)<br>
scanf(&quot;%i&quot;,&amp;M[i][j]);}<br>
s=0;<br>
for(i=0;i&lt;=4;i++)<br>
for(j=0;j&lt;=4;j++)<br>
if(i&gt;j) s=s+M[i][j];<br>
printf( &quot;&#092;n сумма под главной диагоналю= %i &quot;,s);<br>
}<br>
<br>
Четное/нечетное<br>
<br>
#include&lt;stdio.h&gt;<br>
#include&lt;conio.h&gt;<br>
#include&lt;math.h&gt;<br>
void main()<br>
{int a,b;<br>
clrscr();<br>
printf(&quot;введите два целых числа&#092;n&quot;);<br>
scanf(&quot;%d%d&quot;,&amp;a,&amp;b);<br>
  if(a%2) printf(&quot;a-не четное &quot;);<br>
    else printf(&quot;a-четное &quot;);<br>
  if(b%2) printf(&quot;b-не четное &quot;);<br>
    else printf(&quot;b-четное &quot;);<br>
getch();<br>
}<br>
<br>
Но как бы надо объединить]]></description>
        <author>#Nii</author>
        <category>ПОМОЩЬ СТУДЕНТАМ</category>
      </item>
	
      </channel>
      </rss>
	