Question: 9. Suppose that age is an int variable, ch is a char variable, and name is a string variable. What are the values of age

9. Suppose that age is an int variable, ch is a char variable, and name is a string variable. What are the values of age and name after the following input statements executer cin.get(ch): cin>>age; getline(cin, name); If the input is: name (4) 23 Lance Grant; 10. True or False (10') a. The extraction operator >> skips all leading whitespace characters when searching for the next data in the input stream. b. The statement cin>>>>y: requires the input values for x and y to appear on the same line, c. The statement cin>>num; is equivalent to the statement num>cin; d. The function ignore is used to skip certain input in a line. e. To use the manipulators setprecision, setw, and setfil1, the program must include the header file iomanip. The manipulator set formats the output of an expression in a specific number of columns; the default output is right-justified. 8. cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
