<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Форум компьютерной помощи &mdash; Си++. Пирмеры программ.]]></title>
		<link>https://itpmr.ru/viewtopic.php?id=724</link>
		<atom:link href="https://itpmr.ru/extern.php?action=feed&amp;tid=724&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Си++. Пирмеры программ.».]]></description>
		<lastBuildDate>Fri, 30 Nov 2012 08:42:14 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Си++. Пирмеры программ.]]></title>
			<link>https://itpmr.ru/viewtopic.php?pid=123658#p123658</link>
			<description><![CDATA[<p>#include&lt;stdio.h&gt;<br />&nbsp; #include&lt;conio.h&gt;<br />&nbsp; void main ()<br />&nbsp; {<br />&nbsp; clrscr();<br />&nbsp; printf(&quot;\t\tЧисла и их квадраты\n&quot;);<br />&nbsp; int N,m;&nbsp; &nbsp; //N-число, m-его последняя цифра<br />m:printf(&quot;Введите число:\n&quot;);<br />&nbsp; scanf(&quot;%d&quot;,&amp;N);<br />&nbsp; m=N%10;<br />&nbsp; switch(m)<br />&nbsp; &nbsp;&nbsp; &nbsp;{<br />&nbsp; &nbsp;&nbsp; &nbsp;case 0:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Последняя цифра квадрата: 0\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;case 1:<br />&nbsp; &nbsp;&nbsp; &nbsp;case 9:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Последняя цифра квадрата: 1\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;case 2:<br />&nbsp; &nbsp;&nbsp; &nbsp;case 8:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Последняя цифра квадрата: 4\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;case 3:<br />&nbsp; &nbsp;&nbsp; &nbsp;case 7:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Последняя цифра квадрата: 9\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;case 4:<br />&nbsp; &nbsp;&nbsp; &nbsp;case 6:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Последняя цифра квадрата: 6\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;case 5:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Последняя цифра квадрата: 5\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;default:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;{<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Введено неверное число, повторите ввод\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; goto m;<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;}<br />&nbsp; &nbsp;&nbsp; &nbsp;}<br />&nbsp; getch ();<br />&nbsp; }</p>]]></description>
			<author><![CDATA[null@example.com (admin)]]></author>
			<pubDate>Fri, 30 Nov 2012 08:42:14 +0000</pubDate>
			<guid>https://itpmr.ru/viewtopic.php?pid=123658#p123658</guid>
		</item>
		<item>
			<title><![CDATA[Re: Си++. Пирмеры программ.]]></title>
			<link>https://itpmr.ru/viewtopic.php?pid=123657#p123657</link>
			<description><![CDATA[<p>#include&lt;stdio.h&gt;<br />&nbsp; #include&lt;conio.h&gt;<br />&nbsp; void main ()<br />&nbsp; {<br />&nbsp; clrscr();<br />&nbsp; printf(&quot;\t\tПраздники\n&quot;);<br />&nbsp; int mes;<br />m:printf(&quot;Введите номер месяца:\n&quot;);<br />&nbsp; scanf(&quot;%d&quot;,&amp;mes);<br />&nbsp; switch(mes)<br />&nbsp; &nbsp;&nbsp; &nbsp;{<br />&nbsp; &nbsp;&nbsp; &nbsp;case 1:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Январь: Новый год, Рождество\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;case 2:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Февраль: День защитника отечества, День Св.Валентина\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;case 3:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Март: Женский день, День рождения Вали\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;case 4:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Апрель: День смеха, День рождения А.Заворотнюк\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;case 5:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Май: День рождения мамы, День победы\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;case 6:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Июнь: День защиты детей, лето!!!!!\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;case 7:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Июль: День независимости США\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;case 8:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Август: День рождения Юли\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;case 9:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Сентябрь: День знаний, День республики ПМР\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;case 10:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Октябрь: День учителя, День рождения папы\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;case 11:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Ноябрь: Мой день рождения 23 ноября!!!\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;case 12:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Декабрь: Новый год!!!!!!!\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;default:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;{<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Введен неверный номер месяца, повторите ввод\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; goto m;<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;}<br />&nbsp; &nbsp;&nbsp; &nbsp;}<br />&nbsp; getch ();<br />&nbsp; }</p>]]></description>
			<author><![CDATA[null@example.com (admin)]]></author>
			<pubDate>Fri, 30 Nov 2012 08:42:08 +0000</pubDate>
			<guid>https://itpmr.ru/viewtopic.php?pid=123657#p123657</guid>
		</item>
		<item>
			<title><![CDATA[Re: Си++. Пирмеры программ.]]></title>
			<link>https://itpmr.ru/viewtopic.php?pid=123656#p123656</link>
			<description><![CDATA[<p>#include&lt;stdio.h&gt;<br />&nbsp; #include&lt;conio.h&gt;<br />&nbsp; void main ()<br />&nbsp; {<br />&nbsp; clrscr();<br />&nbsp; printf(&quot;\t\tЦифры и их названия\n&quot;);<br />&nbsp; int zifra;<br />m:printf(&quot;Введите цифру:\n&quot;);<br />&nbsp; scanf(&quot;%d&quot;,&amp;zifra);<br />&nbsp; switch(zifra)<br />&nbsp; &nbsp;&nbsp; &nbsp;{<br />&nbsp; &nbsp;&nbsp; &nbsp;case 0:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Zero\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;case 1:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;One\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;case 2:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Two\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;case 3:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Three\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;case 4:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Four\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;case 5:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Five\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;case 6:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Six\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;case 7:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Seven\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;case 8:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Eight\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;case 9:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Nine\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;default:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;{<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Введена неверная цифра, повторите ввод\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; goto m;<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;}<br />&nbsp; &nbsp;&nbsp; &nbsp;}<br />&nbsp; getch ();<br />&nbsp; }</p>]]></description>
			<author><![CDATA[null@example.com (admin)]]></author>
			<pubDate>Fri, 30 Nov 2012 08:42:00 +0000</pubDate>
			<guid>https://itpmr.ru/viewtopic.php?pid=123656#p123656</guid>
		</item>
		<item>
			<title><![CDATA[Re: Си++. Пирмеры программ.]]></title>
			<link>https://itpmr.ru/viewtopic.php?pid=123655#p123655</link>
			<description><![CDATA[<p>#include&lt;stdio.h&gt;<br />&nbsp; #include&lt;conio.h&gt;<br />&nbsp; void main ()<br />&nbsp; {<br />&nbsp; clrscr();<br />&nbsp; printf(&quot;\t\tЗапчасти\n&quot;);<br />&nbsp; int nomer;<br />m:printf(&quot;Введите номер запчасти:\n&quot;);<br />&nbsp; scanf(&quot;%d&quot;,&amp;nomer);<br />&nbsp; switch(nomer)<br />&nbsp; &nbsp;&nbsp; &nbsp;{<br />&nbsp; &nbsp;&nbsp; &nbsp;case 1:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Это гайка\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;case 2:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Это болт\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;case 3:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Это шайба\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;case 4:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Это гвоздь\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;case 5:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Это шуруп\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;default:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;{<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Введен неверный номер запчасти, повторите ввод\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; goto m;<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;}<br />&nbsp; &nbsp;&nbsp; &nbsp;}<br />&nbsp; getch ();<br />&nbsp; }</p>]]></description>
			<author><![CDATA[null@example.com (admin)]]></author>
			<pubDate>Fri, 30 Nov 2012 08:41:52 +0000</pubDate>
			<guid>https://itpmr.ru/viewtopic.php?pid=123655#p123655</guid>
		</item>
		<item>
			<title><![CDATA[Си++. Пирмеры программ.]]></title>
			<link>https://itpmr.ru/viewtopic.php?pid=123654#p123654</link>
			<description><![CDATA[<p>#include&lt;stdio.h&gt;<br />&nbsp; #include&lt;conio.h&gt;<br />&nbsp; void main ()<br />&nbsp; {<br />&nbsp; clrscr();<br />&nbsp; printf(&quot;\t\tОценки\n&quot;);<br />&nbsp; int ozenka;<br />m:printf(&quot;Введите оценку:\n&quot;);<br />&nbsp; scanf(&quot;%d&quot;,&amp;ozenka);<br />&nbsp; switch(ozenka)<br />&nbsp; &nbsp;&nbsp; &nbsp;{<br />&nbsp; &nbsp;&nbsp; &nbsp;case 2:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Неудовлетворительно\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;case 3:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Удовлетворительно\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;case 4:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Хорошо\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;case 5:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Отлично\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; break;<br />&nbsp; &nbsp;&nbsp; &nbsp;default:<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;{<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; printf(&quot;Введена неверная оценка, повторите ввод\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; goto m;<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;}<br />&nbsp; &nbsp;&nbsp; &nbsp;}<br />&nbsp; getch ();<br />&nbsp; }</p>]]></description>
			<author><![CDATA[null@example.com (admin)]]></author>
			<pubDate>Fri, 30 Nov 2012 08:41:43 +0000</pubDate>
			<guid>https://itpmr.ru/viewtopic.php?pid=123654#p123654</guid>
		</item>
	</channel>
</rss>
