#GESP4202. [GESP]L2-202609-Q4202-S

[GESP]L2-202609-Q4202-S

下面的 C++ 代码之后的输出是( )。

int tot = 0, i;
for (i = -5; i < 5; i++)
    if (not(i % 3 != 0))
        tot += 1;
cout << tot;

{{ select(1) }}

  • 2
  • 3
  • 7
  • 9