下面C++代码执行后其输出是( )。
1 int tnt = 0; 2 for (int i = 0; i < 10;i ++) 3 if (i % 3) 4 tnt += 1; 5 else 6 tnt += 2; 7 cout << tnt;
18
17
16
14