Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <iomanip>
- using namespace std;
- int main()
- {
- cout << setw(200) << " _______________________________________________ " << endl;
- cout << setw(200) << " | CODE | CAPITA LETTER | CODE | CAPITA LETTER | " << endl;
- for (char i = 'A'; i <= 'Z'; i++) {
- cout << setw(54) << " | " << setw(4) << i << " | " << setw(13) << static_cast<int>(i) << " | " << endl;
- }
- for (char i = 'a'; i <= 'z'; i++)
- cout << setw(54) << " | " << setw(4) << i << " | " << setw(13) << static_cast<int>(i) << " | " << endl;
- cout << "______________________________" << endl;
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement