<?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=Age</id>
	<title>Age - 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=Age"/>
	<link rel="alternate" type="text/html" href="https://wiki.nc.ut.ee/index.php?title=Age&amp;action=history"/>
	<updated>2026-10-30T14:07:15Z</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=Age&amp;diff=247&amp;oldid=prev</id>
		<title>Pavel: Protected &quot;Age&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=Age&amp;diff=247&amp;oldid=prev"/>
		<updated>2022-09-04T17:11:49Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/index.php?title=Age&quot; title=&quot;Age&quot;&gt;Age&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:11, 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=Age&amp;diff=245&amp;oldid=prev</id>
		<title>Pavel at 17:11, 4 September 2022</title>
		<link rel="alternate" type="text/html" href="https://wiki.nc.ut.ee/index.php?title=Age&amp;diff=245&amp;oldid=prev"/>
		<updated>2022-09-04T17:11:09Z</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:11, 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 50:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 50:&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;Задание: модифицируйте программу таким образом чтобы при введенном возрасте большем или равном 65 выводилось сообщение: &quot;Вы уже пенсионер!&quot;, а если введенный возраст меньше чем 65, то выводилось количество лет до пенсии&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;Задание: модифицируйте программу таким образом чтобы при введенном возрасте большем или равном 65 выводилось сообщение: &quot;Вы уже пенсионер!&quot;, а если введенный возраст меньше чем 65, то выводилось количество лет до пенсии&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=Age&amp;diff=225&amp;oldid=prev</id>
		<title>Pavel: Created page with &quot;&lt;pre&gt; using System; class Age {     static void Main()     {         // Эта строчка нужна чтобы выводить текст на русском языке...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.nc.ut.ee/index.php?title=Age&amp;diff=225&amp;oldid=prev"/>
		<updated>2022-09-04T17:01:12Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;pre&amp;gt; using System; class Age {     static void Main()     {         // Эта строчка нужна чтобы выводить текст на русском языке...&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;
class Age&lt;br /&gt;
{&lt;br /&gt;
    static void Main()&lt;br /&gt;
    {&lt;br /&gt;
        // Эта строчка нужна чтобы выводить текст на русском языке&lt;br /&gt;
        // Также необходимо в свойстве окна консоли выбрать шрифт: Properties &amp;gt;&amp;gt; закладка Font &amp;gt;&amp;gt; Lucida Console&lt;br /&gt;
        Console.OutputEncoding = System.Text.Encoding.UTF8;&lt;br /&gt;
&lt;br /&gt;
        Console.Write(&amp;quot;Введите Имя : &amp;quot;);&lt;br /&gt;
        // Сохраняем в строковой переменной введенное пользователем имя&lt;br /&gt;
        string Text1 = Console.ReadLine();&lt;br /&gt;
&lt;br /&gt;
        Console.Write(&amp;quot;Введите Фамилию : &amp;quot;);&lt;br /&gt;
        // Сохраняем в строковой переменной введенное пользователем фамилию&lt;br /&gt;
        String Text2 = Console.ReadLine();&lt;br /&gt;
&lt;br /&gt;
        // Сохраняем в строковой переменной введенное пользователем отчество&lt;br /&gt;
        Console.Write(&amp;quot;Введите Отчество : &amp;quot;);&lt;br /&gt;
        String Text3 = Console.ReadLine();&lt;br /&gt;
&lt;br /&gt;
        // Соединяем 3 переменные (конкатенация) и записываем в другую строковую переменную Fio&lt;br /&gt;
        String Fio = Text1 + &amp;quot; &amp;quot; + Text2 + &amp;quot; &amp;quot; + Text3;&lt;br /&gt;
&lt;br /&gt;
        // Выводим на экран текст и переменную Fio&lt;br /&gt;
        Console.WriteLine(&amp;quot;Ваше полное имя : &amp;quot; + Fio);&lt;br /&gt;
&lt;br /&gt;
        // Сохраняем в строковой переменной введенное пользователем возраст&lt;br /&gt;
        Console.Write(&amp;quot;Введите ваш возраст : &amp;quot;);&lt;br /&gt;
        String Text4 = Console.ReadLine();&lt;br /&gt;
&lt;br /&gt;
        // Конвертируем значение строковой переменной в числовой тип Integer и присваиваем значение переменной age&lt;br /&gt;
        int age = Convert.ToInt32(Text4);&lt;br /&gt;
&lt;br /&gt;
        // Считаем количество лет до пенсии&lt;br /&gt;
        int pension = 65 - age;&lt;br /&gt;
&lt;br /&gt;
        // Выводим на экран текст и переменную pension&lt;br /&gt;
        Console.WriteLine(&amp;quot;Вам на пенсию через &amp;quot; + pension + &amp;quot; года/лет&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
        // Ожидаем нажатия клавиши ВВОД&lt;br /&gt;
        Console.ReadLine();&lt;br /&gt;
&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Задание: модифицируйте программу таким образом чтобы при введенном возрасте большем или равном 65 выводилось сообщение: &amp;quot;Вы уже пенсионер!&amp;quot;, а если введенный возраст меньше чем 65, то выводилось количество лет до пенсии&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>