Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- char exc (char x) ;
- void main() {
- char a = 'A'; // 65 a= 97
- char res;
- for (int i = 0 ; i < 26 ; i++)
- cout << char(a+i) << " " << exc(a+i) << " " << endl ;
- cout << endl;
- }
- char exc( char x) {
- return x + 32;
- }
Add Comment
Please, Sign In to add comment