Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started