kiban254
kiban254 kiban254
  • 01-05-2019
  • Computers and Technology
contestada

Which of the following evaluates to the variable x rounded to two decimal places?

A. round(x, 2)
B. round(2, x)
C. round(x), 2
D. round(2), x

Respuesta :

sylvain96
sylvain96 sylvain96
  • 11-05-2019

Answer:

A. round(x, 2)

Explanation:

It depends on the specific language you're using, but in most language it will follow the syntax round(x, 2).

In the first parameter you enter the value to be rounded (in this case 'x'), and in the second parameter you indicate how many decimals you want to have it rounded to (in this case '2').

Let's suppose we have number 34,54924 as x:

round(x,0) = 35

round(x,1) = 34,5

round(x,2) = 34,55

round(x,3) = 34,549

Answer Link

Otras preguntas

PLEASE HELP IM STUCK
Like all Romantic writers, Blake manages to draw a connection between man, nature, and the truth with which he himself _____. is ignoring is wrestling has maste
Approximate the solution to the equation f(x) = g(x) using three iterations of successive approximation. Use the graph as a starting point. (SCREENSHOT) I tried
what is the unit digit of 7^7⁷?​
AxA+A=27 BXAxAxA=24 BxAxCxC=96 C+AxB= ?
How do you purify your drinking water if it is not safe ?​
5.3 Q3 Use part one of the fundamental theorem of calculus to find the derivative of the function.
What is the value of the expression below? (8+1/8+(2.5+3/4)
5.3 Q1 / Will mark brainlliest Let g(x) = x 0 f(t) dt, where f is the function whose graph is shown.
WHAT IS THE ANSWER OF THIS QUESTION.