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

What is the solution of the equation? 15 = –d + 9
y + 3y - 8 = 4(y - 2)
Define Static friction​
1. Lani conducted an experiment in which she tested the reactivity of a substance. She placed two equal samples of a substance into identical beakers. She then
Add an equation and answer
How many people die worldwide each year?
For questions 8-10 in the diagram below, AB is parallel to CD. Use the diagram to find the unknown angles
For f(x)=5x+1. Find f(-4)
In geography, a pattern can be classified as
Most dangerous animal to hunt and explain why