void ActivityE () {
short int s = 65;
int i;
double d1, d2 = 5.2;
char ch;
d1 = (int) d2 + 10;
cout << "(int)d2 = " <<
(int)d2 << endl;
cout << "Answer to Q1 = " <<
d1 << endl;
i = (int) d2 * (char)10.34;
cout << "Answer to Q2 = " <<
i << endl;
ch = (char) (s + 3);
cout << "Answer to Q1 = " <<
ch << endl;
}