Question: 3. Write a complete C++ program that does the following. a. Declares two variables of type char. b. Assigns the character $ to the
3. Write a complete C++ program that does the following. a. Declares two variables of type char. b. Assigns the character $ to the first variable. c. Prompts the user to enter a character. d. Reads in the user input and assigns to the second variable. e. Outputs the characters stored in both variables. f. Test out " ", "\t" and other escape sequences with cout.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
