Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Assuming each of the following four quest ha. the following same input from keyb

ID: 3674362 • Letter: A

Question

Assuming each of the following four quest ha. the following same input from keyboard Jones. walker Thomas What will be the values in the string variables first, middle, and last when the following statement is executed? b What will be the values in the string variables name, when the following statement is executed get line (cin, name); What will be the values in the at ring values and the char variable name then the following statements are executed? d) What will be the output after the following statement executed ?

Explanation / Answer

1)
first --> "Jones,"
middle --> "Walker"
last   --> "Thomas"

2)
name --> "Jones, Walker Thomas"

3)
name --> "Walker"
ch1 --> " "

4)
output --> "W."

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote