2006年培养学员80000人,每年增长25%,请问按此增长速度,到哪一年培训学员人数将达到20万人?

 int count = 80000;
            int year = 2006;
            while (count < 200000) {
                count = Convert.ToInt32(count * 1.25);
                year++;
                Console.WriteLine("从{0}年人数能达到{1}", year, count);
          
            }
            Console.WriteLine(year);
            Console.ReadKey();

 

相关文章:

  • 2021-09-09
  • 2022-12-23
  • 2022-12-23
  • 2022-01-21
  • 2021-07-14
  • 2021-07-28
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-02-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案