Which if statement would be true if you needed to see if the
sum of x and y (both ints) was 12 or y (an int) was 0?

A. if ( (x + y) = 12 || y = 0 )
B. if ( x + y == 12 || y == 0 )
C. if ( (x + y) == 12 && y == 0 )
D. if ( x + y == 12 == 0 )


B

Computer Science & Information Technology

You might also like to view...

A laser printer can produce better-quality printouts than a dot matrix printer, even when printing at the same dpi, because it can vary the size of the dots it prints, creating a sharp, clear image using a technology known by what name?

A. REt B. REx C. VART D. eRT

Computer Science & Information Technology

printf("Enter the price: "); can be written in C++ as ____.

A. cout << "Enter the price: "; B. cout >> "Enter the price: "; C. cin << "Enter the price: "; D. cin >> "Enter the price: ";

Computer Science & Information Technology

You have noticed inappropriate use of computers for gaming and Internet downloads by some employees who come in after hours and on weekends. These employees don't have valid work assignments during these times. You have been asked to devise a solution for these employees that doesn't affect other employees or these employees' computers during working hours. What's the best solution?

a: Install personal firewall software on their computers in an attempt to block the gaming and Internet traffic b: Request that the Maintenance Department change the locks on their office doors so that they can enter only during prescribed hours. c: Set the Logon Hours options for their user accounts. d: Before you leave each evening and before the weekend, disable these employees' accounts and reenable them the next working day.

Computer Science & Information Technology

A(n) ________ is a tweet that you resend to people who are following you

Fill in the blank(s) with correct word

Computer Science & Information Technology