fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. char a = 'a';
  7. char z = 'z';
  8. char a_up = 'A';
  9. char z_up = 'Z';
  10. cout << int(a) << endl;
  11. cout << int(z) << endl;
  12. cout << int(a_up) << endl;
  13. cout << int(z_up) << endl;
  14.  
  15. return 0;
  16. }
Success #stdin #stdout 0s 15240KB
stdin
Standard input is empty
stdout
97
122
65
90