4. Let x and y be type float, m and n type int, ch1 and ch2 type char, and str type string. Show the final contents of each variable affected by the input operations below. Indicate any errors that might occur when the statements in each part execute. Assume that the input stream pointer is reset to the first input character before each part executes. 345.27 50 40 a. ins >> x >> y >> ch1 >> ch2 >> str; ins >> x >> m >> n;

Solved
Show answers

Ask an AI advisor a question