/******************************************************************************
Welcome to GDB Online.
GDB online is an online compiler and debugger tool for C, C++, Python, Java, PHP, HTML, CSS, JS.
Code, Compile, Run and Debug online from anywhere in world.
*******************************************************************************/
#include <stdio.h>
#include <iostream>
using namespace std;
int main()
{
// Characters conversion to ASCII - (ASCII Table)
cout << "*********** Character conversion to ASCII *************" << endl << endl;
cout << "The ASCII code for A is: " << int('A') << endl;
cout << "The ASCII code for a is: " << int('a') << endl;
cout << "The ASCII code for B is: " << int('B') << endl;
cout << "The ASCII code for b is: " << int('b') << endl;
cout << "The ASCII code for Z is: " << int('Z') << endl;
cout << "The ASCII code for z is: " << int('z') << endl;
// ASCII Code conversion to characters (ASCII Table)
cout << "\n\n********* ASCII code conversion to characters ***********" << endl << endl;
for (int x=100; x<=105; x++){
cout << "The character representation for the ASCII code " << x << " is: " << char(x) << endl;
}
return 0;
}