What is the output of the following code?

float x = 2.3, y = 4.7, z = 1.4;
if (!(x < 7) && (y >= z))
cout << x << ” “ << y;
else
cout << y << “ “ << z;

4.71.4

Computer Science & Information Technology

You might also like to view...

_______ is the term used for the components of a digital device designed to hold data permanently.

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

Computer Science & Information Technology

Write a method called sum100 that returns the sum of the integers from 1 to 100, inclusive.

What will be an ideal response?

Computer Science & Information Technology