Question: Given the variables n1, n2 as integers, y as double and c as a char type. Suppose the input statement is: cin >> n1
Given the variables n1, n2 as integers, y as double and c as a char type. Suppose the input statement is: cin >> n1 >> c>> n2 >> y; What values, if any, are stored in n1, n2, y, and if the input is: 14-33.8 * 9.4 Oanl 14, n2 = -33, c = 's', y = 7.6 Ob. The cin will enter a failure state. Ocn1 = 14, n2 -33.8, c = '', y = 7.6 Odnl 14, n2 = 33, c', y = 0.8
Step by Step Solution
There are 3 Steps involved in it
Corre... View full answer
Get step-by-step solutions from verified subject matter experts
