与谜题26和27中的程序一样,下面的程序有一个单重的循环,它记录迭代的次数,并在循环终止时打印这个数。那么,这个程序会打印什么呢?
    class Count
    {
      static void Main()
      {
        const int START = 2000000000;
        int count = 0;
        for (float f = START; f < START + 50; f++)
          count++;
        System.Console.WriteLine(count);
      }
    }

    C#解惑总目录

相关文章:

  • 2021-08-11
  • 2021-09-23
  • 2021-12-05
  • 2021-11-22
  • 2022-12-23
  • 2021-12-23
  • 2022-12-23
  • 2021-09-27
猜你喜欢
  • 2022-03-02
  • 2021-06-14
  • 2022-12-23
  • 2021-05-28
  • 2021-11-19
  • 2022-12-23
  • 2022-01-10
相关资源
相似解决方案