intro24.cpp

来自「hello everybody. good lucky to you」· C++ 代码 · 共 17 行

CPP
17
字号
// INTRO24.CPP--Example from Chapter 3, "An Introduction to C++"

#include <iostream.h>

int main()
{
   int num = 0;
   while (num++ <= 10)
   {
      if (num % 2 != 0)
         continue;
      cout << '\n' << num;
   }

   return 0;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?