Greater Or Equal in C++

Level 125 keystrokes

Prints the result of 5 >= 5, which is true and shown as 1.

C++ code

// >= is true when the left value is greater than or equal to the right one
// 5 equals 5, so the result is true, printed as 1
1cout << (5 >= 5) << endl;

Output

1
Practice typing this code

Practice typing this code. Results are not recorded in the rankings.

Symbols in this code

The symbols you type in this C++ code and how often they appear.

  • <× 4
  • ;× 1
  • (× 1
  • )× 1
  • =× 1
  • >× 1

More C++ examples at level 1

← C++ typing practice