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

suppose x and y are int variables and ch is a char variable. consider the follow

ID: 3616519 • Letter: S

Question

suppose x and y are int variables and ch is achar variable. consider the followinginput: 5 28 36 what value if any is assigned to x, y and ch after each of thefollowing statements executes? (use the same input for eachstatement) a) cin >> x >> y >> ch; b) cin >> ch >> x >> y; c) cin >> x >> ch >> y; d) cin >> x >> y;      cin.get(ch); suppose x and y are int variables and ch is achar variable. consider the followinginput: 5 28 36 what value if any is assigned to x, y and ch after each of thefollowing statements executes? (use the same input for eachstatement) a) cin >> x >> y >> ch; b) cin >> ch >> x >> y; c) cin >> x >> ch >> y; d) cin >> x >> y;      cin.get(ch);

Explanation / Answer

please rate - thanks a) x=5, y=28   ch=3 b)ch=5, x=28, y=36 c)x=5, ch=2,y=8 d) x=5, y=28, ch=space