Guest User

Untitled

a guest
Feb 19th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.29 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. char exc (char x) ;
  5.  
  6. void main() {
  7.     char a = 'A';  // 65      a= 97
  8.  
  9.      char res;
  10.       for (int i = 0 ; i < 26 ; i++)
  11.         cout << char(a+i) << " " << exc(a+i) << " " << endl ;
  12.      cout << endl;
  13. }
  14.  
  15. char exc( char x) {
  16.  
  17.       return x + 32;
  18.    
  19.      
  20. }
Add Comment
Please, Sign In to add comment