Exercise #5 (ASCII)
The char data type is an integral type, meaning the underlying value is stored as an integer, and it's guaranteed to be 1-byte in size. A char value is interpreted as an ASCII character. ASCII stands for American Standard Code for Information Interchange, and it defines a particular way to represent English characters (plus a few other symbols) as numbers between 0 and 127 (called an ASCII code or code point). For example, ASCII code 97 is interpreted as the character 'a'. Character literals are always placed between single quotes.
Write a program to:
a. Prompt the user to enter an integer number between 0 and 127, then print the character equivalent.
b. Prompt the user to enter a lowercase single character, then print the uppercase equivalent.
c. Print your first name and major to the screen by using character casting. For example, cout << char(87) will print the uppercase character 'W'.
Enter an integer value between 0 and 127: 70
You entered the integer number 70. The character equivalent of 'F'.
Enter a lowercase letter: q
The uppercase of 'q' is 'Q'.
My Name is: Wissam
My Major is: COE
822925838898828
RMRANASRRARNRNA 1y
2