Files
  • main.cpp
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <iostream>
using namespace std;

int main() {
  int num;
  cin >> num;

  if (num == 1) {
    cout << "one" << endl;
  }
  else if (num == 2) {
    cout << "two" << endl;
  }
  else if (…)  {
    // TODO
  } 
  else if (num == 9)  {
    cout << "nine" << endl;
  } 
  else  {
    cout << "number too big" << endl;
  } 
}