intro6.cpp

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

CPP
18
字号
// INTRO6.CPP--Example from Chapter 3, "Introduction to C++"

#include <iostream.h>

int main()
{
   int i = 101, j = 59, k = 0;
   int m = 70,  n = 85, p = 5;
   int q = 39, r = 110, s = 11;

   cout << '\t' << "Won" << '\t' << "Lost" << '\t' << "Tied\n\n";
   cout << "Eagles" << '\t' << i << '\t' << j << '\t' << k << '\n';
   cout << "Lions" << '\t' <<m << '\t' << n << '\t' << p << '\n';
   cout << "Wombats" << '\t' << q << '\t' << r << '\t' << s << '\n';

   return 0;
}

⌨️ 快捷键说明

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