Загрузка...

1 task. The teacher promised to deliver 10. The question of expulsion

Thread in C# created by Ilyan112 Oct 7, 2019. 317 views

  1. Ilyan112
    Ilyan112 Topic starter Oct 7, 2019 Banned 23 Nov 6, 2018
  2. Ilyan112
    Ilyan112 Topic starter Oct 7, 2019 Banned 23 Nov 6, 2018
    Не понимаю как именно сделать все в корне и скорее всего Тамм функция while
     
  3. iGermi
    iGermi Oct 7, 2019 4 Mar 11, 2018
    Code

    using System;

    namespace ConsoleApp2
    {
    class Program
    {
    static void Main(string[] args)
    {
    double d = 0;
    for(int i = 99; i >= 3; i = i - 3)
    {

    d = Math.Sqrt(d) + i;
    }
    Console.WriteLine(Math.Sqrt(d));
    }
    }
    }

     
  4. Ilyan112
    Ilyan112 Topic starter Oct 7, 2019 Banned 23 Nov 6, 2018
    Ещё не проверял, но уверен , что работает, я тебе жизнью обязан
    The post was merged to previous Oct 7, 2019
    https://prnt.sc/pg2drl
    Помогите с ошибкой разобраться

    The post was merged to previous Oct 7, 2019
    #include <math.h>

    using namespace std;
    int main()
    {
    int i,d;
    double d = 0;
    for(int i = 99; i >= 3; i = i - 3);
    {

    d = Math.Sqrt(d) + i;
    }
    printf(Math.Sqrt(d));
    }
    Остановился тут , но дофига ошибок
     
Top
Loading...