Which if statement would be true if you needed to see if x (an int)
was less than 5 and y (an int) was greater than 7?

A. if ( x < 5 || y > 7 )
B. if ( x < 5 && y > 7 )
C. if ( x <= 5 || y >7 )
D. if( x < 5 && y < 7)

B

Computer Science & Information Technology

You might also like to view...

When files stored on the hard drive are broken up and stored in different places on the disk, the files have been ________

A) optimized B) concentric C) fragmented D) stripped

Computer Science & Information Technology

A ____ is an independent set of slides to show to a specific audience.

A. presenter folder B. slide show C. custom show D. section

Computer Science & Information Technology