fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. char a = 'a';
  7. char A = 'A';
  8.  
  9. int a1 = 0;
  10. a1 = a;
  11.  
  12. if((a1-A-32)==0)
  13. cout<<"true";
  14. else
  15. cout<<"false";
  16. }
Success #stdin #stdout 0s 3456KB
stdin
Standard input is empty
stdout
true