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
adelina 88 [10]
3 years ago
10

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

{ funny = 0; serious = 0; } else if (funny == 2) { funny = 10; serious = 10; } else { funny = 1; serious = 1; } cout << funny << " " << serious << endl;
Computers and Technology
2 answers:
Reika [66]3 years ago
8 0

Answer:

1 1

Explanation:

First we have funny = 7 and serious = 15 .Then after that remainder when serious is divided by 2 is stored in funny that is 1.if condition will be false because funny is equal to 1.else if condition will also be false because it is not 2.So else will be executed and funny =1 and serious =1.

Output=1 1

alina1380 [7]3 years ago
6 0

Answer:

11

Explanation:

your welcome!

You might be interested in
Disk Defragmenter eliminates unnecessary file fragments and rearranges files and unused disk space to optimize computer operatio
Anit [1.1K]

Answer:

Windows utility program.

Explanation:

The operating system is a software used to manage the activities of various parts of the computer system. It acts as a link between the hardware, application software and the user. An example of OS is the Windows OS.

It has the kernel program that directly connects the hardware to the operating system. It provides utility programs to analyse, optimise, control and maintain devices running in the system.

Window utility program is an example of utilities in OS, used to analyse, control, optimise and maintain device and software activities for good system performance.

An example of the windows utility program is the disk defragmenter used to eliminate fragments and rearrange files and unused disk space.

7 0
3 years ago
I NEED TO FIND OUT THE ANSWER!
vladimir1956 [14]

Answer:

the first action that should be taken is to back up the all important document that and by finishing doing that format the entire system...and i advise you should be choosing the best antivirus to protecting your computer

7 0
2 years ago
In Excel 2016 a range of cells beginning with cell C5 and going to cell E9 is defined as
Ksivusya [100]
None of the above.
Cell range should be marked as, C5:E9
5 0
2 years ago
What are the 2 types of Digital Imagery?
Darina [25.2K]

Answer:

vector or raster

Explanation:

7 0
3 years ago
tcp is sending data at 1 megabyte per second. if the sequence number starts with 7000, how long does it take before the sequence
aksik [14]

Data transmission using TCP is 1 MB/s. It takes [(232 1) 7000] / 1,000,000, or 4295 seconds, for the sequence number to go back to zero.

A communications protocol known as Transmission Control Protocol, or TCP, permits message transmission between computer hardware and software via a network. It is designed to transmit packets across the internet and to guarantee the successful transmission of data and messages over networks.

The Internet Engineering Task Force (IETF) has designated TCP as one of the foundational protocols that serve as the rules for the internet (IETF). One of the most extensively used protocols in digital network communications, it offers end-to-end data delivery.

Before being delivered between a server and a client, data is first structured by TCP. It guarantees the correctness of data sent through a network.

To know more about TCP click here:

brainly.com/question/28119964

#SPJ4

7 0
1 year ago
Other questions:
  • When should you use the Reply All function when replying to an email
    10·2 answers
  • Bertha was recording a drama club practice. during editing, she noticed that she missed recording the beginning of a shot in the
    10·1 answer
  • Physical activity such as sports or even a brisk walk can help reduce
    7·2 answers
  • A degree-constrained minimum spanning tree is a minimum spanning tree (MST) where the maximum vertex degree is limited to a cert
    14·1 answer
  • Is it safe to turn on a computer without ram?
    5·2 answers
  • You are called to assist in troubleshooting a network problem that has occurred soon after a significant IPv6 implementation. So
    11·1 answer
  • What does NBT stand for?​
    11·1 answer
  • Consumers who wish to make a purchase from other consumer on ebay need tl
    10·1 answer
  • Zara wants to create some lines of code that are ignored by the computer. What should these lines begin with?
    5·1 answer
  • A(n) ___ is a set of CPUs which work in parallel in an attempt to simulate the way the human brain works, although in greatly si
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!