What would be displayed as a result of executing the following code?

int x = 15, y = 20, z = 32;
x += 12;
y /= 6;
z -= 14;
System.out.println("x = " + x +
", y = " + y +
", z = " + z);

a. x = 27, y = 3.333, z = 18
b. x = 27, y = 2, z = 18
c. x = 37, y = -14, z = 4
d. x = 27, y = 3, z = 18

d. x = 27, y = 3, z = 18

Computer Science & Information Technology

You might also like to view...

The combination of a hostname, an organization's domain name, and the Internet top-level domain name creates a ________ that is unique across the Internet

a. Fully Qualified Domain Name (FQDN) b. NetBIOS Name c. Local Area Network Name d. None of the above

Computer Science & Information Technology

What is another word for a subscript?

A. superscript B. subroutine C. variable D. index

Computer Science & Information Technology