<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.nc.ut.ee/index.php?action=history&amp;feed=atom&amp;title=Do_while</id>
	<title>Do while - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.nc.ut.ee/index.php?action=history&amp;feed=atom&amp;title=Do_while"/>
	<link rel="alternate" type="text/html" href="https://wiki.nc.ut.ee/index.php?title=Do_while&amp;action=history"/>
	<updated>2026-10-30T15:11:12Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://wiki.nc.ut.ee/index.php?title=Do_while&amp;diff=257&amp;oldid=prev</id>
		<title>Pavel: Protected &quot;Do while&quot; ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))</title>
		<link rel="alternate" type="text/html" href="https://wiki.nc.ut.ee/index.php?title=Do_while&amp;diff=257&amp;oldid=prev"/>
		<updated>2022-09-04T17:13:40Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/index.php?title=Do_while&quot; title=&quot;Do while&quot;&gt;Do while&lt;/a&gt;&amp;quot; ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:13, 4 September 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Pavel</name></author>
	</entry>
	<entry>
		<id>https://wiki.nc.ut.ee/index.php?title=Do_while&amp;diff=256&amp;oldid=prev</id>
		<title>Pavel at 17:13, 4 September 2022</title>
		<link rel="alternate" type="text/html" href="https://wiki.nc.ut.ee/index.php?title=Do_while&amp;diff=256&amp;oldid=prev"/>
		<updated>2022-09-04T17:13:33Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:13, 4 September 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 32:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 32:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Дополнительно: модифицировать программу таким образом, чтобы при вводе символа &quot;q&quot; происходил выход из программы, при вводе символа &quot;n&quot; программа запрашивала ввод чисел снова, а при вводе любого другого символа выводилась надпись &quot;incorrect symbol&quot; и программа снова запрашивала ввод чисел.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Дополнительно: модифицировать программу таким образом, чтобы при вводе символа &quot;q&quot; происходил выход из программы, при вводе символа &quot;n&quot; программа запрашивала ввод чисел снова, а при вводе любого другого символа выводилась надпись &quot;incorrect symbol&quot; и программа снова запрашивала ввод чисел.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[https://&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;web&lt;/del&gt;.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;narva&lt;/del&gt;.ut.ee/index.php&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/%D0%9F%D1%80%D0%B8%D0%BC%D0%B5%D1%80%D1%8B&lt;/del&gt; &amp;lt;&amp;lt;]&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[https://&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wiki&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;nc&lt;/ins&gt;.ut.ee/index.php&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;?title=Примеры&lt;/ins&gt; &amp;lt;&amp;lt;]&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pavel</name></author>
	</entry>
	<entry>
		<id>https://wiki.nc.ut.ee/index.php?title=Do_while&amp;diff=230&amp;oldid=prev</id>
		<title>Pavel: Created page with &quot;&lt;pre&gt; using System;      class Program     {         static void Main(string[] args)         {             // Объявляем строковую переменную...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.nc.ut.ee/index.php?title=Do_while&amp;diff=230&amp;oldid=prev"/>
		<updated>2022-09-04T17:02:48Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;pre&amp;gt; using System;      class Program     {         static void Main(string[] args)         {             // Объявляем строковую переменную...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
using System;&lt;br /&gt;
&lt;br /&gt;
    class Program&lt;br /&gt;
    {&lt;br /&gt;
        static void Main(string[] args)&lt;br /&gt;
        {&lt;br /&gt;
            // Объявляем строковую переменную&lt;br /&gt;
            string key;&lt;br /&gt;
&lt;br /&gt;
            do&lt;br /&gt;
            { // Начало цикла Do While&lt;br /&gt;
                Console.Clear(); // Очистить экран&lt;br /&gt;
                Console.Write(&amp;quot;Press q key to quit: &amp;quot;);&lt;br /&gt;
                key = Console.ReadLine();&lt;br /&gt;
                Console.WriteLine(&amp;quot;You pressed the \&amp;quot;&amp;quot; + key + &amp;quot;\&amp;quot; key!&amp;quot;);&lt;br /&gt;
            } // Конец цикла Do While&lt;br /&gt;
            while (key != &amp;quot;q&amp;quot;); /* Повторять пока не введен (!=) символ &amp;quot;q&amp;quot;. &lt;br /&gt;
            Если условие ложно (введен символ &amp;quot;q&amp;quot;), то произойдет выход из цикла */&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
           // Выводим на экран сообщение&lt;br /&gt;
            Console.WriteLine(&amp;quot;The End of programm!&amp;quot;);&lt;br /&gt;
            Console.ReadKey();&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Задание: модифицировать программу [[Select]], чтобы в конце работы программы при вводе символа &amp;quot;q&amp;quot; происходил выход из программы, а при вводе любого другого символа программа выводила меню снова&lt;br /&gt;
&lt;br /&gt;
Дополнительно: модифицировать программу таким образом, чтобы при вводе символа &amp;quot;q&amp;quot; происходил выход из программы, при вводе символа &amp;quot;n&amp;quot; программа запрашивала ввод чисел снова, а при вводе любого другого символа выводилась надпись &amp;quot;incorrect symbol&amp;quot; и программа снова запрашивала ввод чисел.&lt;br /&gt;
&lt;br /&gt;
[https://web.narva.ut.ee/index.php/%D0%9F%D1%80%D0%B8%D0%BC%D0%B5%D1%80%D1%8B &amp;lt;&amp;lt;]&lt;/div&gt;</summary>
		<author><name>Pavel</name></author>
	</entry>
</feed>