What is the output of the following C++ code? 
int x = 35;int y = 45;int z;if (x > y)  z = x + y;else  z = y - x; 
cout

A. 35 45 80
B. 35 45 10
C. 35 45 -10
D. 35 45 0


Answer: B

Computer Science & Information Technology

You might also like to view...

_____ measures risk likelihood and impact.

A. Risk assessment B. Risk marking C. Risk identification D. Risk control

Computer Science & Information Technology

In the accompanying figure, the Business Analyst Table displays in ____.

A. Structure view B. Layout view C. Design view D. Table view

Computer Science & Information Technology

In which of the following scenarios would you choose to embed versus import data?

What will be an ideal response?

Computer Science & Information Technology

__________ comments take up several lines and are used for lengthy explanations of parts of a program.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology