<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; OFF: Поиск максимального нечетного числа среди трех]]></title>
	<link rel="self" href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=9469&amp;type=atom" />
	<updated>2014-04-09T12:58:25Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=9469</id>
		<entry>
			<title type="html"><![CDATA[Re: OFF: Поиск максимального нечетного числа среди трех]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=81604#p81604" />
			<content type="html"><![CDATA[<p><span style="color: Green">Перенёс.</span></p>]]></content>
			<author>
				<name><![CDATA[alexii]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=1844</uri>
			</author>
			<updated>2014-04-09T12:58:25Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=81604#p81604</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[OFF: Поиск максимального нечетного числа среди трех]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=81600#p81600" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>#include &lt;iostream&gt;
#include &lt;stdio.h&gt;
#include &lt;math.h&gt;
#include &lt;conio.h&gt;
#include &lt;string.h&gt;

/* run this program using the console pauser or add your own getch, system(&quot;pause&quot;) or input loop */
using namespace std;
int main() {
    int x,y,z,max;
    printf (&quot;x=&quot;);
    scanf (&quot;%d&quot;,&amp;x);
    printf (&quot;y=&quot;);
    scanf (&quot;%d&quot;,&amp;y);
    printf (&quot;z=&quot;);
    scanf (&quot;%d&quot;,&amp;z);
    max=0;
    if (x%2==1)  max=x;
    if ((y%2==1) &amp;&amp; (max&lt;y)) max=y;
    if ((z%2==1) &amp;&amp; (max&lt;z)) max=z;
    if (max=0)
    printf(&quot;Takih net&quot;);
    else printf (&quot;\n max=%d\n&quot;, max);
    getch();
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[dgipersenok]]></name>
			</author>
			<updated>2014-04-09T11:03:44Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=81600#p81600</id>
		</entry>
</feed>
