1. Is the function void or return
a. void
b. return
2. What is the result of the following expression: int r = 3; r%2 == 0;
a. it evaluates as true
b. it evaluates as false
c. nothing happens

Answers

Answer 1

Answer:

(a) void

(b) Nothing happens

Explanation:

Solving (a): void and return

A function that returns no value is referred to as a void function.

On the other hand, a void can not be return or named return.

So, the function is void

Solving (b):

r = 3

Required

The result of r%2 == 0

Substitute 3 for r in r%2 == 0

3%2 == 0

3%2 is 1.

So, we have:

1 == 0

Hence, the equivalent of r%2 == 0 is 1 == 0.

However, nothing will happen because there is no instruction attached to the statement (i.e. r%2 == 0;)


Related Questions

why is it important to make sure link is from a trusted source? can't we just click and if it's not what we want or
through it would be just go back?​

Answers

Answer:

First... you don't want to have to click on a million different sites

Second.... some sites have viruses, and they activated when you click on a certain source.

Explanation:

Hava great day!

Answer:

They say that it has to be from a trusted source because, you will be needing the correct and trustworthy information. Like take wikipedia for example anyone can go on there and change the information to something fake and then you have fake info in what you are writing.

Explanation:

How do we store value in a variable? Give an example

How do we use the value in variable? Give an example

Answers

Answer:

hi

Explanation:

im not smart

A vending machine that serves coffee pours a varying

Answers

is that the whole question? or

Inserting and deleting text is a basic editing task in word processing.

True or false

Answers

The answer should be true
answer:
true.

hope this helps!

HELP PLEASE
When typing a function in a spreadsheet, you must first type _____



Group of answer choices

A cell reference

A column header

A row number

An equals sign

Answers

The last one, equal sign :))) also could I get brainliest??

You can use a cell reference, which points to a cell or range of cells on a worksheet, to tell Microsoft Office Excel where to find the numbers or data that you want that formula to calculate.Thus, option A is correct.

What a cell reference, function in a spreadsheet?

When you include cell references in a calculation, Excel uses the data in the referenced cells to calculate the result. The formula automatically calculates the new result when a cell's value is changed. To enter the formula, click the cell where you want to do so.

The term “cell reference” or “cell address” refers to the combination of a column letter and a row number that identifies a worksheet cell. For instance, the references A1, B2, and so forth all refer to the cells that are situated where row 1 and column A meet.

Therefore, When typing a function in a spreadsheet, you must first type A cell reference .

Learn more about spreadsheet here:

https://brainly.com/question/8284022

#SPJ2

What is the sum of
1
7
10
and
3
3
5
? Use the fraction strips to help.

An image shows two groups of fraction strips. The first group is one one-whole fraction strip and seven one-tenth fraction strips. Under the first group, the second group is three whole fraction strips and six one-tenth fraction strips.

A.
4
7
10
B.
5
C.
5
3
10
D.
3
1
2

Answers

Answer

[tex]1\frac{7}{10} + 3\frac{3}{5} = 5\frac{3}{10}[/tex]

Explanation:

Given

[tex]1\frac{7}{10} + 3\frac{3}{5}[/tex]

Required: Evaluate the sum

[tex]1\frac{7}{10} + 3\frac{3}{5} =[/tex]

Convert to improper fraction

[tex]1\frac{7}{10} + 3\frac{3}{5} = \frac{17}{10} + \frac{18}{5}[/tex]

Take LCM

[tex]1\frac{7}{10} + 3\frac{3}{5} = \frac{17+36}{10}[/tex]

[tex]1\frac{7}{10} + 3\frac{3}{5} = \frac{53}{10}[/tex]

Convert to mixed fraction

[tex]1\frac{7}{10} + 3\frac{3}{5} = 5\frac{3}{10}[/tex]

Answer:

c

Explanation:

PLEASE HELLPPPPP EVERYONE IS IGNORING THISSSSSSSSSS
In your own words, describe in detail the different types of image licensing. How does image metadata play a role in these licenses and why is that important.

Answers

Answer:

Permissive licenses are also known as Apache style or BSD style. They contain minimal requirements about how the software can be modified or redistributed

Explanation:

hi good morning how are you all
I hope you all are fine
ok now question is what is LAN?
have a nice day

Answers

Answer:

Local area network

Explanation:

d6odyiitdidditsitstiistssitdditzdditidztsto

It’s a local area network, a computer network that interconnects computers within a limited area such as a residence, school, laboratory, university campus or office building.

A piece of hardware used to enter data into a computer: Output Device Backing Storage Device Programming language Input Device

Answers

Answer:

Input Device.

Explanation:

A piece of hardware used to enter data into a computer is known as an input device.

Basically, this input device is also known as peripherals and it comprises of all of the devices that are interconnected with the CPU. Some examples of input devices used with a computer includes keyboards, scanner, mouse, etc. They avail the end users the ability to send an information to the computer system for processing into a desired output.

How do ACLs work on a router?

Answers

Answer:

An ACL is a list of permit or deny rules detailing what can or can't enter or leave the interface of a router. Every packet that attempts to enter or leave a router must be tested against each rule in the ACL until a match is found. If no match is found, then it will be denied.

Explanation:

PLEASE MARK ME AS BRAINLIEST

Find the value of the expression 5n² + 5n - 2 if n = -2.

Answers

5(-2)^2 + 5(-2) - 2
5(4) - 10 - 2
20 - 10 - 2
10 - 2
8

Help Me Please. I'm Begging you

Answers

Answer:

d and b can't see the last ones answer so im guessing this is what you needed.

Explanation:

Please help I’m not trying to fail

Answers

Answer:

a

Explanation:

i think a pressure clamps

PLEASE HELP ASAP!! Timed test!!
Lakendra finished working on her monthly report. In looking it over, she saw that it had large blocks of white space. What steps could Lakendra
take to reduce the amount of white space? It’s more than one answer!!
A. Include more special effects
B. Have an unjustified right margin
C. Increase the use of boxes and rules
D. Adjust column spacing

Answers

Answer:

d i think

Explanation:

The binary number represented by the voltage graph below is

I will give you brainlist if you actually answer

Answers

Answer:

the answer is the pattern is odd numbers like Odd numbers are whole numbers that cannot be divided exactly into pairs. Odd numbers, when divided by 2, leave a remainder of 1. 1, 3, 5, 7, 9, 11, 13, 15 are sequential odd numbers. Odd numbers have the digits 1, 3, 5, 7 or 9 in their ones place.

Explanation:

Answer:

11010100

Explanation:

What are three primary reasons for asking others to review and comment on a presentation?
O to document feedback, edit images, or share credit for the presentation
O to review content for accuracy, suggest improvements, or document feedback
O to suggest improvements, maintain record keeping, or review images for accuracy
O to maintain record keeping, share credit for the presentation, or suggest improvements

Answers

Answer:

to review content for accuracy, suggest improvements, or document feedback

Explanation: answer is b

In the scenario below, decide whether you should upgrade the computer or replace it. You’ve been working on your existing laptop computer for 3 years. It seems to be running just fine except for the times that you need to run video-editing software for your film hobby. Plus, there is a new program that your friends are using for their video editing, and you think it is pretty cool, but it might not run on your laptop. What should you do?

Answers

Answer:

Replace

Explanation:

Since the laptop is already 3 years old and you cant just open laptops it wuld be better to just replace

Answer:

B. Replace

Explanation:

When you been working on the laptop for three years it probably won't work so you'll need to replace the old laptop with a new laptop. But if the laptop still works over that three years you can still replace it if you want.

I hope this helps. <3

Have a nice day.<3

What does perseverance mean?
A. an interest in discovering the unknown
B. helping someone recover from an injury
C. a willingness to keep trying
D. an ability to communicate with others

Answers

ansewer is C a willingness to keep trying
The answer is Definitely C.

how was banking in the 1950s​

Answers

Answer:

Diners Club launches the national charge card industry. Previous credit cards had been limited in use to one retail establishment or chain.  1950: Wider Acceptance

Explanation:

WILL GIVE BRAINLIEST IF IT IS RIGHT!! 25 POINTS!!!
Dacey needs to calculate the difference between 8,794 and 5,632.
Which Python statement should Dacey use to calculate this?
A.) print(8,794 - 5,632)
B.) print(8,794 * 5,632)
C.) print = 8,794 + 5,632
D.) print("8,794 - 5,632")
(this is for Coding)

Answers

Answer:

A

Explanation:

When you are finding the difference in a code you are subtracting the bigger number from the smaller one. You wouldn't technically use " " when printing a number equation as it doesn't work.

Answer:

The answer is A

Explanation:

they are not multiplying so its not b

they are not adding so its not c

there is NOT quotation marks when calculating.

DOSE ENY ONE KNOW WHAT TOOLS THEASE ARE NEXT TO THIS GUY BECAUSE I AM AT A LOSE ON THIS ONE??????????

Answers

Those look like very old tools

All are secret and destructive weapons I guess

A computer scientist creates an app that tells you a funny joke each time you touch the Joke button.
a. What does the view layer for this app contain?


b. What does the controller layer do for this app?

Answers

Answer:

B And A

Explanation:

B: The controller renders a responce it can be seen as a manager and other parts are its workers and makes sure that other parts are "working" well

Answer:

He's actually right- it's B and A.

Explanation:

1) What is a RAM and what are it's functions?

2) What is a ROM and what are it's functions? ​

Answers

Answer:

The interpretation of the statement is characterized in the answer section below.

Explanation:

RAM:

This would be the real physiological remembrance of such a computer where even the OS and initiatives were also stacked as well as stored so that the processor could be made available extra rapidly.

The function of RAM:

It's own key marketing strategy as both temporary storage with program guidelines that could be brought major more by CPU even before needed.

ROM:

ROM contains computing which enables the computer system to commence as well as replenish every time these are switched on.

The function of RAM:

Most PCs have such a minuscule percentage of ROM which stores government initiatives, including the program which boots just one desktop.

So far , All of the input that we have seen comes directly from the user with your partner brainstorm other ways an app might get the information that it needs

Answers

Answer:

An app can get information from the device itself like diagnostic data or location.

Explanation:

7. Peter is a tennis player. Suggest one advantage and one disadvantage of him using a
T-shirt made from polyamide to play tennislin. (2)

Answers

When you're shopping for new clothes determining the proper fabric type is just as important as choosing the right size and color. With so many different kinds of fabric available it can be hard to know what's best for your needs. That's why we made this comprehensive guide to the most popular fabrics used to make clothing and accessories. Click on a button below to jump to that fabric type, then click into each fabric type to see products made from that kind of material!

A screw has 4 threads per centimeter and a circumference of 2 centimeters. What is the mechanical advantage of the screw? 2 4 6 8

Answers

Answer:

M.A = 8

Explanation:

Given the following data;

Circumference = 2cm

Number of threads = 4

To find the mechanical advantage (M.A);

[tex] Mechanical \; advantage = \frac {Circumference}{Pitch} [/tex]

But, [tex] Pitch = \frac {1}{number \; of \; threads} [/tex]

[tex] Pitch = \frac {1}{4} [/tex]

Pitch = 0.25

Substituting the values into the equation, we have;

[tex] M.A = \frac {2}{0.25} [/tex]

M.A = 8

Therefore, the mechanical advantage of the screw is 8.

Answer:A screw has 4 threads per centimeter and a circumference of 2 centimeters. What is the mechanical advantage of the screw?

2

4

6

8 THIS IS THE CORRECT ANSWER

Explanation:

Edge 2021 Test Correct

Workers in a child care facility or preschool are part of what career path?
A. education and training
B. health care
C. human services
D. hospitality

Answers

Answer:

A

Explanation:

Preschool teachers show education

A. Education and training

The first photo in the collage is what I should make a copy of, anyone has any knowledge on how to add the numbers apart of the spreadsheet and the letters? ​

Answers

Pick the cell that you want the combined data to be in.
Type the formula, with double quotes within the file. For instance: ="Due in "&A3 &" days"
NOTE: End or begin the text string with a space to separate the text strings from the numbers.
To complete the formula, press Enter

Will give brainliest!
Who created binary, and does anyone have any idea how?

Answers

Answer:

Gottfried Leibniz created it and Leibniz was trying to find a system that converts logic's verbal statements into a pure mathematical one.

What is 01010101 converted to denary

Answers

Answer:

85

Explanation:

0 + 64 + 0 + 16 + 0 + 4 + 0 + 1 = 85

Other Questions
An idea would likely be accepted or rejected during the ideascreening phase.TrueFalse Find the 84th term of the arithmetic sequence 18, 31, 44, ... Excerpt from Stuff Matters By Mark Miodownik In the absence of copper, gold, and meteoric iron, our ancestors tools during the Stone Age were made of flint, wood, and bone. Anyone who has ever tried to make anything with these kinds of tools knows how limiting they are: if you hit a piece of wood it either splinters, cracks, or snaps. The same is true of rock or bone. Metals are fundamentally different from these other materials because they can be hammered into shape: they flow, they are malleable. Not only that, they get stronger when you hit them; you can harden a blade just by hammering it. And you can reverse the process simply by putting metal in a fire and heating it up, which will cause it to get softer. The first people to discover these properties ten thousand years ago had found a material that was almost as hard as a rock but behaved like a plastic and was almost infinitely reusable. In other words, they had discovered the perfect material for tools, and in particular cutting tools like axes, chisels, and razors. This ability of metals to transform from a soft to a hard material must have seemed like magic to our ancient ancestors. *** In 1961 Professor Richmond from Oxford University discovered a pit that had been dug by the Romans in AD 89. It contained 763,840 small two-inch nails, 85,128 medium nails, 25,088 large nails, and 1,344 extra-large sixteen-inch nails. The hoard was of iron and steel and not gold, which most people would have found bitterly disappointing. But not Professor Richmond. Why, he asked himself, would a Roman legion bury seven tons of iron and steel? The legion had been occupying the advance headquarters of Agricola in a place called Inchtuthil in Scotland. This was at the outer reaches of the Roman Empire, and their mission was to protect its border from what they saw as the savage tribes who threatened it: the Celts. The legion of five thousand men occupied the region for six years before retreating and, in the process, abandoning their fort. They made great efforts to leave behind nothing that could help their enemies. They smashed all food and drink containers and burned the fort to the ground. But they werent satisfied with this. In the ashes were the steel nails that had held the fort together, and they were far too valuable to be left to the tribes that had driven them out. Iron and steel were the materials that enabled the Romans to build aqueducts, ships, and swords; they allowed them to engineer an empire. Leaving the nails to their enemies would have been as useful as leaving a cache of weapons, so they buried them in a pit before marching south. The author draws a contrast between metals and other materials in all of the following EXCEPT: A) Flint, wood, and bone are more brittle. B) Metals are reusable. C) Metals are non-polluting. D) Metals can be shaped into other objects. can anyone answer this for me please pls help is it A. B. C. D. Write a number so that the equation will have an infinate number of solutions 3x+5=3x+ does utilitarianism questions individual rights? 1. What nations or kingdoms are represented on the map? *And 2. What is labeled? What do the symbols represent? * 1. Determine the amount Treynor would calculate internally for ending inventory and cost of goods sold using first-in, first-out (FIFO) under a perpetual inventory system. 2. Determine the amount Treynor would report externally for ending inventory and cost of goods sold using last-in, first-out (LIFO) under a periodic inventory system. (Assume beginning inventory under LIFO was 28,000 units with a cost of $13.40). 3. Determine the amount Treynor would report for its LIFO reserve at the end of the year. 4. Record the year-end adjusting entry for the LIFO reserve, assuming the balance at the beginning of the year was $18,000. A school requires that 1 adult accompany every 8 students on a field trip. How many adults are needed to accompany 32 students? What are the dimensions of the product? The gas tank in Manny's car holds 25.05 gallons of gasoline. The car gets 36.05 miles to the gallon. How many miles can Manny drive on a full tank of gasoline?A. 875.0025 milesB. 901.8000 milesC. 903.0525 milesD. 930.7500 miles find the missing side of the triangle please HURRY ITS TIMED Read the excerpt from A Black Hole Is NOT a Hole by Carolyn Cinami DeCristofano.Einstein's idea of gravity had big consequences. It helped explain some observations that Newton's idea didn't account for. It also opened our minds to amazing new possibilities. For example, taking his cue from Einstein's idea that space bends, scientist Karl Schwarzschild began to think about what would happen if a place in space were extremely distorted. His answer: light would follow the hyper-bent space, never to turn away from it. This was the first prediction of a black hole. At first, some scientists (including Einstein!) rejected Schwarzschild's ideas. Others were intrigued and began searching the skies for real black holes. Just decades later, they found the first of them. It just goes to show: sometimes, as Einstein himself once said, "Imagination is more important than knowledge."According to the excerpt, how does Karl Schwarzschild use Einsteins ideas to draw a conclusion?Karl Schwarzschild uses Einsteins ideas about gravity to conclude that Newtons ideas had faults. Karl Schwarzschild uses Einsteins ideas about gravity to conclude that space bends. Karl Schwarzschild uses Einsteins ideas about space bending to conclude that black holes are possible. Karl Schwarzschild uses Einsteins ideas about imagination to conclude that it is more important than knowledge. A hiker climbs a hill 400 m high. If he weighs 50 kgcaleulate the work he does in lifting his body to the top of the hill The next day the gas tank in dads car holds 24 gallons. The gas tank in moms truck holds 50% less than that. How much gas does the trucks tank hold? 2(3x + 2) = 2x - 1+x. What is the correct answer for this? brian got in a taxi at 6:20 am and arrived at his destination at 7:10 am how long did his destination take A rectangular prism measures 3 1/2 cm long, 2 1/2 cm wide, and 1 1/2 cm high. How many cubes with side lengths of image cm are needed to fill the prism?A.13 cubesB.35 cubesC.6 cubesD.105 cubes