<?xml version="1.0" encoding="utf-8" ?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:tt="http://teletype.in/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"><title>@artemplichko</title><author><name>@artemplichko</name></author><id>https://teletype.in/atom/artemplichko</id><link rel="self" type="application/atom+xml" href="https://teletype.in/atom/artemplichko?offset=0"></link><link rel="alternate" type="text/html" href="https://teletype.in/@artemplichko?utm_source=teletype&amp;utm_medium=feed_atom&amp;utm_campaign=artemplichko"></link><link rel="next" type="application/rss+xml" href="https://teletype.in/atom/artemplichko?offset=10"></link><link rel="search" type="application/opensearchdescription+xml" title="Teletype" href="https://teletype.in/opensearch.xml"></link><updated>2026-04-17T04:05:46.105Z</updated><entry><id>artemplichko:o7zdk86bG</id><link rel="alternate" type="text/html" href="https://teletype.in/@artemplichko/o7zdk86bG?utm_source=teletype&amp;utm_medium=feed_atom&amp;utm_campaign=artemplichko"></link><title>Задачи для артёма.</title><published>2020-05-21T16:53:57.857Z</published><updated>2020-05-21T16:53:57.857Z</updated><summary type="html">&lt;img src=&quot;https://teletype.in/files/0e/e3/0ee3f249-580b-4368-9f24-360dd875ace3.png&quot;&gt;1. IF</summary><content type="html">
  &lt;p&gt;1. IF&lt;/p&gt;
  &lt;pre&gt;  int k = 0; int i, s = 0;
            for (i = 345; i &amp;lt;= 500; i++)
            {
                if ((i % 9) == 0)
                {
                    k++; s = s + i;
                    Console.WriteLine(i);
                }
            }
            Console.WriteLine(&amp;quot;Кiлькiсть чисел, що дiляться на 9 - &amp;quot; + k);
            Console.WriteLine(&amp;quot;Середне = &amp;quot; + s / k);
            Console.ReadLine();&lt;/pre&gt;
  &lt;p&gt;&lt;/p&gt;
  &lt;figure class=&quot;m_original&quot;&gt;
    &lt;img src=&quot;https://teletype.in/files/0e/e3/0ee3f249-580b-4368-9f24-360dd875ace3.png&quot; width=&quot;373&quot; /&gt;
  &lt;/figure&gt;
  &lt;p&gt;2) Курс доллара&lt;/p&gt;
  &lt;pre&gt;Console.WriteLine(&amp;quot;Какой курс доллара?&amp;quot;); 
double KursDollar = double.Parse(Console.ReadLine()); 
Console.WriteLine(&amp;quot;А euro?&amp;quot;);
double KursEuro = double.Parse(Console.ReadLine()); 
Console.WriteLine(&amp;quot;Доллар Гривня     Евро Гривня&amp;quot;); 
for (byte i = 1; i &amp;lt;= 20; i++)
    Console.WriteLine(i + &amp;quot;\t&amp;quot; + i * KursDollar + &amp;quot;\t&amp;quot; + i + &amp;quot;\t&amp;quot; + i*KursEuro + &amp;quot;\t&amp;quot;); 
    Console.ReadKey();&lt;/pre&gt;
  &lt;figure class=&quot;m_original&quot;&gt;
    &lt;img src=&quot;https://teletype.in/files/6f/dc/6fdc003f-ece9-4896-a571-699f780b30f5.png&quot; width=&quot;262&quot; /&gt;
  &lt;/figure&gt;
  &lt;p&gt;3) Массивы&lt;/p&gt;
  &lt;pre&gt;                int cout = 0, summ = 0, eror = 0;
                int[] array = new int[500 - 364];
                for(int i =365; i&amp;lt;=500; i++)
                    if(i%9==0)
                    {
                        array[eror] = i;
                        summ += 1;
                        eror++;
                        cout++;
                    }
                for (int i = 0; i &amp;lt; cout; i++)
                    Console.WriteLine(array[i].ToString() + &amp;quot;\t&amp;quot;);
                Console.WriteLine();
                Console.WriteLine((summ / cout).ToString());
                Console.ReadLine();&lt;/pre&gt;
  &lt;figure class=&quot;m_original&quot;&gt;
    &lt;img src=&quot;https://teletype.in/files/46/04/460497d4-4810-42a3-8971-e6316844a7a6.png&quot; width=&quot;260&quot; /&gt;
  &lt;/figure&gt;
  &lt;p&gt;4) Пифагор&lt;/p&gt;
  &lt;pre&gt;            for (int i = 1; i &amp;lt;= 9; i++)
            {
                for (int n = 1; n &amp;lt;= 9; n++)
                {
                    Console.Write(&amp;quot;{0}\t&amp;quot;, i * n);
                    if (n == 9)
                    { Console.WriteLine(); }&lt;/pre&gt;
  &lt;pre&gt;                }
            }&lt;/pre&gt;
  &lt;pre&gt;            Console.Read();&lt;/pre&gt;
  &lt;p&gt;&lt;/p&gt;
  &lt;figure class=&quot;m_original&quot;&gt;
    &lt;img src=&quot;https://teletype.in/files/76/dd/76dda362-e0be-45b3-ad3e-f60c0c09057b.png&quot; width=&quot;999&quot; /&gt;
  &lt;/figure&gt;

</content></entry></feed>