I need help with my homework: 1. (TCO 2) What are the values of the variables af
ID: 3540352 • Letter: I
Question
I need help with my homework:
1. (TCO 2) What are the values of the variables after the code fragment below executes if the input data is 37 86.56 32?
int x, y;
double z;
cin >> x;
cin >> y;
cin >> z;
(Points : 5) x = 37, y = 86.56, z = 32
x = 37, y = 86, z = 32
x = 37, y = 86, z = 0.56
x = 37, y = 86, z = 32.56
indented by one additional tab stop more than the loop control statement.
surrounded by an open and closing parenthesis.
written on the same line.
Explanation / Answer
1 . x = 37, y = 86, z = 32
2 . surrounded by an open and closing parenthesis.
3 . A comment block at the start of a program file should contain information about what the program does.
4 . Switch Statements
5. if(keepgoing == 'a' || keepgoing == 'A')
6 .
7 .
8 . any of the above
9.
10 .continue
11 while(answer != 'n' || answer != 'N')
For questions 6,7 and 9 , the image is not visible
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.