Menu

(Solved) : 4 Given Input 46 49 C Code Int X 10 Y 18 Char Z Cin X Y Z Cout X Y Z Endl Output 5 Suppose Q44028881 . . .

4. Given the input: 46 A 49 and the C++ code: int x = 10, y = 18; char z = *; cin >> x >> y >> z; cout << x << << y <<

4. Given the input: 46 A 49 and the C++ code: int x = 10, y = 18; char z = ‘*’; cin >> x >> y >> z; cout << x << ” ” << y << ” ” << z << endl; What is the output? 5. Suppose that x and y are int variables, z is a double variable, and ch is a char variable. Suppose the input statement is: cin >> x >> y >> ch >> z; What values, if any, are stored in x, y, z, and ch if the input is: a. 35 62.78 b. 86 32A 92.6 c. 12 .45A 32 Show transcribed image text 4. Given the input: 46 A 49 and the C++ code: int x = 10, y = 18; char z = ‘*’; cin >> x >> y >> z; cout

Expert Answer


Answer to 4. Given the input: 46 A 49 and the C++ code: int x = 10, y = 18; char z = ‘*’; cin >> x >> y >> z; cout ch >> z; What v…

OR