fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. std::cout << "B = " << int('B') << '\n';
  6. std::cout << "O = " << int('O') << '\n';
  7. std::cout << "N = " << int('N') << '\n';
  8. std::cout << "E = " << int('E') << '\n';
  9.  
  10. }
Success #stdin #stdout 0s 3456KB
stdin
Standard input is empty
stdout
B = 66
O = 79
N = 78
E = 69