1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
ehidna [41]
4 years ago
6

What will the following program display?

Computers and Technology
1 answer:
s344n2d4d5 [400]4 years ago
5 0

Answer:

0 1 1 0

Explanation:

Running the below code

#include <iostream>

using namespace std;

int main() {

   int a = 0, b = 2, x = 4, y = 0;

   cout << (a == b) << " ";

   cout << (a != b) << " ";

  cout << (b <=x) << " ";

  cout << (y > a) << endl;

   return 0;

}

line 5 = states is a == b, i.e 0 == 2, which returns false 0

line 6 = states is a != b i.e 0 not equal to 2 returns true 1

line 7 = states is b <= x i.e 2 less than or equal to 4 returns true 1

line 8 = states is y >a i.e 0 > 0 returns false 0

You might be interested in
Tsunami warning systems that utilize satellite technology to send an alarm have recently been developed and installed. these sys
guapka [62]
The answer that would best complete the statement above would be option A. Tsunami warning systems that utilize satellite technology to send an alarm have recently been developed and installed and these systems are one example of how <span>technology and communication networks can impact global issues. Hope this helps.</span>
4 0
3 years ago
What materials can I find at home and make a cell phone tower​
MAVERICK [17]

Answer:

you cant

Explanation:

You simply cant make a tower from materials found in a household

4 0
3 years ago
There is one clear definition of IT. True False
Elenna [48]

Answer:

That is False. it has more definitions not only one.

8 0
3 years ago
Calculate the weighted grade for each student that appears in the data file. You may calculate the grade based on total earned p
lutik1710 [3]

Answer:

I don't know the answer, sorry

6 0
3 years ago
To a traditional computer, one means
blagie [28]

a.on , off

In most computer processors, electron movement is controlled by tiny switches that turn this flow of electricity on and off...zero represents off and one represents on

4 0
4 years ago
Other questions:
  • If you want a user to enter exactly 20 values which loop would be the best to use
    12·1 answer
  • Imagine you are spending the weekend with your family in a location with ZERO technology- no phones, TV, computers, video, radio
    10·1 answer
  • In Linux, when logged in as a normal user with root privileges, which command must precede the apt-get command in the command li
    13·1 answer
  • Please help!
    10·1 answer
  • To create a document, you start by selecting the _____ button or option.
    7·1 answer
  • A ________ refers to specific content of a field.
    7·1 answer
  • FOR ALL PLATO USERS:
    10·2 answers
  • Which of the following access control techniques allows the user to feel empowered and able to change security attributes?
    5·1 answer
  • How does our behavior change when we know we're being watched?
    14·1 answer
  • Which of the following is a true statement about parameters in data management? Check all that apply.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!