jasonhimel jasonhimel
  • 09-02-2020
  • Computers and Technology
contestada

What would the output be if we replaced the math expression in the last line with dependents * ((yearsOnJob - 1) * 4) - 6 and the value of dependents was 3 instead?

Respuesta :

problemsolver2019
problemsolver2019 problemsolver2019
  • 16-02-2020

Answer:

Please check the explanation.

Explanation:

Let x=dependents * ((yearsOnJob - 1) * 4) - 6

where dependents=3

Lets supppose year on job 3

then

x=( 3*((3-1)*4)-6

x= 3*8 -6

= 24-6

=18

And similarly, we can calculate the value of arithmetic expression all the time.

Answer Link

Otras preguntas

Given AB with A(8, -4) and B(-6, 11), if P partitions AB such that the ratio of AP to AB is 2:7, find the coordinates of P
Science is a special way of learning about the world through the use of systematic observation and _____.
which provides resistance against antibiotics such as beta lactam 1)gram negative cell wall 2)spores 3)slime 4)capsule
A patient asks the nurse what cardiac glycosides do to improve his condition. what is the nurse's best response?
Hammurabi's Code was important because it was the first time that state laws...a. applied to the royal household. b. used prisons as punishment. c. we're set do
can someone help me with this
2. A researcher wants to examine the use of marijuana among local middle and high school students. To do this, the researcher goes into classrooms at the middle
If the price elasticity of demand for a good is 4. 0, then a 10 percent increase in price results in a.
Which of the following historical items would NOT be used by the Warren Commission to determine exactly what happened during the assassination of President John
Someone please help me