#include using namespace std; const char EXIT_CHAR {'Q'}; int main() { char c; int asciiValue; while (c != EXIT_CHAR) { cin >> c; asciiValue = static_cast(c); cout << " the letter '" << c << "' has ascii code " << asciiValue << endl; } cout << endl << endl; asciiValue = 48; while (asciiValue < 100) { cout << asciiValue << " is " << static_cast(asciiValue) << endl; ++asciiValue; } cout << endl << endl; c = 'a'; while (c <= 'z') { cout << c ; ++c; } cout << endl; // this is bad, it will not work //asciiValue = static_cast("hello world"); asciiValue = 60; while (asciiValue < 87) { c = asciiValue; cout << c; ++asciiValue; } cout <