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
antiseptic1488 [7]
3 years ago
7

What will be displayed after the following statements execute? int funny = 7, serious = 15; funny = serious 2; if (funny != 1) f

unny- 0; serioos = Q; else if (funny 2) funny = 10; serious = 10; else funny= 1; serious 1: cout << funny <<" " << serious << endl: O None of these O 7 15 O10 10 O1 1

Computers and Technology
2 answers:
lys-0071 [83]3 years ago
7 0

Answer:

11

Explanation:

svp [43]3 years ago
4 0

Answer:

The correct option is 1 1.

Explanation:

As the code is not visible here, the question is attached herewith.

  1. The variable funny and serious are initialized with values 7 and 15 respectively.
  2. In the next step funny is assigned with value of 15 %2 = 1 , Therefore funny=1.
  3. In the if statement funny!=1, which means 1!=1 which is false. Therefore if statements fails to execute.
  4. The next block is else if statement ,funny==2 which means 1==2 ( 1 equal to 2) which is false. Therefore else if fails.
  5. The else executes because all other conditions failed.
  6. Therefore funny =1 and serious =1 are executed and printed.
  7. Therefore the output is 1 1

You might be interested in
¿Qué podría pasar si los avances tecnológicos cayeran en personas sin formación Ética-Moral?
timurjin [86]

Answer:

If technological advances fall on people without Ethical-Moral training, then life itself would be threatened as our humanity and environment would be destroyed.

Explanation:

Question:

What could happen if technological advances fell on people without Ethical-Moral training?

Morals: Morals refer to human behavior. The principles of right and wrong

Ethics: It is the body of rules and regulations that dictate the conduct of practitioners of a particular profession.

In terms of technology, ethics is viewed in two contexts; if the pace of technological innovation is benefiting the humanity or not; if it is severely empowering people while choking others in the process.

Technology: it is the application of scientific principles for practical purposes of human life. Technology when used properly improves the quality of life of people.

On one hand, technology in itself is said to be neither good nor bad. It is people who determine it's application. With this said, we can infer that if technology falls on the wrong hands, it could be disastrous.

On the other, some technologies like nuclear fission, genetic engineering exert enormous power that their existence raises ethical or moral questions.

The role of ethical training in technological advancement would be to monitor rather than control to ensure fair practices.

Now if technological advances fell on people without ethical-moral training, then life itself would be threatened:

- Cultural breakdown: Almost everything in our day to day lives would depend on technology

- Loss of jobs: this would happen when machines do the work of men

- Inequalities as those with initial access to it would be the rich thereby widening the gap between the rich and poor.

- Exploitation as competition towards Mastery and control increases

- Environmental degradation

5 0
3 years ago
Why is Data-Driven Analytics of interest to companies?
vivado [14]

Answer:

It allows companies to make definitive predictions about the future. It gives companies the ability to make informed decisions.

It helps Data Analysts shape an analytics problem from a business problem.

Explanation:

4 0
3 years ago
What are the different components of the cloud architecture?
sashaice [31]

Cloud computing architecture can be described as components and subcomponents required for cloud computing. Typically, these components consist of front (fat client, mobile device, thin client) and black end platforms (storage, servers), a cloud based delivery, and a network (Internet, Internet, Cloud). When all of these components are combined, they make up a cloud architecture.

3 0
3 years ago
The principle of time preference requries a larger payment in the future than the present. Which situation best illustrates this
gladu [14]
The answer is letter C.
3 0
3 years ago
When you receive a rejection message from an employer, you should?
Sergio039 [100]
Move on and continue your job search!
3 0
4 years ago
Other questions:
  • Convert 1 pound into newtons
    8·2 answers
  • What are the six critical components of an information system? Select three of the six components, and describe a potential vuln
    15·1 answer
  • A forensic investigation discovered that accounts belonging to employees who were terminated numerous years ago were recently us
    9·1 answer
  • Some loops are controlled by ____ (or reducing) a variable and testing whether the value remains greater than some benchmark val
    15·1 answer
  • When you are using remote control services and need to enter the ip address of the system you want to control, you should use th
    6·1 answer
  • How can migrating to an enterprise platform solution help a business improve employee productivity?
    12·1 answer
  • 500 word career report, auto care
    15·1 answer
  • The second purpose of government regulation is to​ _____________________.
    8·2 answers
  • Armando is trying to decide how he will alert players that the game is over in the new video game that he is designing. He is co
    8·1 answer
  • bookmark question for later what database did zach choose? microsoft excel microsoft access db2 oracle
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!