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
Neko [114]
3 years ago
9

Which of the following code segments will print “large enough” when the square of the number var is larger than 25?

Computers and Technology
1 answer:
Illusion [34]3 years ago
5 0

Answer:

C.

if (Math.sqrt(var) > 25)

{

System.out.println("large enough");

}

Explanation:

Analyzing each option:

(a): if (Math.sqrt(var) < 25)

The above condition uses < which means less than.

So, basically the condition checks if the square root of var is less than 25

This is not the required condition in the question

(b): if (Math.sqrt(2, var) > 25)

The above is an incorrect syntax of checking for square roots and it'll return an error when the program is run

To look for square root, make use of <em>Math.sqrt(var)</em>

<em></em>

(c): if (Math.sqrt(var) > 25)

As stated in the last statement of (b), the correct syntax to check for square root is <em>Math.sqrt(var) </em>and the condition above makes use of > which implies that if square root of var is greater than 25.

And if yes, it prints large enough

(d): if (Math.pow(var, 2) < 25)

This doesn't check for square root of var but rather it checks for var raise to power of 2.

So, from the analysis above;

Option c answers the question

You might be interested in
Portrait and Landscape are
ValentinkaMS [17]

Answer:

a page layout

Explanation:

6 0
3 years ago
How can you exaggerate the height of a jump in a photograph
Nataliya [291]

If you take the photo with one person on the ground that way when they take the photo it will look like the person jumping is jumping higher then they really are.


I hope this helps

8 0
3 years ago
Explain Software licensing
lbvjy [14]

Answer:

Software Licensing is pretty much allowing another company to use your own product.

Explanation:

<u>For Example:</u>

<u>Company A</u> is working on a face swap application which requires a facial recognition software in order to work. They can either build one from scratch (which can take months) or they can pay someone who already has one in order to be able to use it.

<u>Company B</u> owns a facial recognition software and are asked by Company A to license their software to them. Company A pays Company B, they then draft up a contract for Company A allowing them to use the facial recognition app.

Software licenses are either proprietary, free, or open source. Proprietary is the one used in the example above.

I hope this answered your question. If you have any more questions feel free to ask away at Brainly.

5 0
3 years ago
PLEASE HELP ME
alexira [117]

Answer:

it won't be able to run

Explanation:

because computer runs on physical memory

5 0
3 years ago
ASAP in the middle of this quiz Which of the following arguments might convince a local school board of the need to train upper
Arturiano [62]

Answer:

A.

Explanation:

Answer D seems too simplistic, and the question specifically mentions IT practices.

Question B doesn't seem right - college and high school students would likely be able to understand the principles as much.

Question C wouldn't be a good argument for a school board, and there's not a lot of evidence that backs it up.

Therefore, A seems to be the best choice here.

Hope this helps!

3 0
3 years ago
Other questions:
  • Which term represents a computational instruction stored in computer memory?
    13·2 answers
  • Question: when using a line graph, why is it important to only graph 1-3 series of data?
    8·1 answer
  • ______was developed as an interim management protocol with OSI as the ultimate network management protocol.
    5·1 answer
  • You want to multiply 50 in cell D3 by 8.90 in cell E3. Which formula should you use?
    11·1 answer
  • When you search google for​ dishwashers, you are likely to see a number of inconspicuous ads for​ advertisers, including product
    11·1 answer
  • Write a function to output an array of ints on a single line. Funtion Should take an array and an array length and return a void
    9·1 answer
  • 6 → What is the difference between SHA-256 and SHA-512?
    12·1 answer
  • Discuss why it is important to know the history of social media​
    10·1 answer
  • after confirming the removal of a virus from a computer, how should the technician ensure and verify the full functionality of t
    7·1 answer
  • Who tryna trade in gta my psn is xMadOrNawx-_-
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!