Answer:
x=11
Step-by-step explanation:
The switch case works like an if or if-else, where each of the cases are conditionals. Here we have 7 cases and we know that our variable begins with x=5.
First, it enters to case 5 because of x=5, so x+=3, this means we add 3 to the actual value of the variable ⇒ x=8.
At this point, if there's not break the program continues to the next case, executing the statements until a break or the end on the switch is reached.
In this order, the x = 8 and next we add 1 (case 6) ⇒ x=9. We add 2 (case 7) x+=2 ⇒ x=10. Then we rest 1 (case 8) ⇒ x=9 and then we add 1 again as in case 9 ⇒ x=11.
Answer: 6 i think
Step-by-step explanation:
The same as the last question. B the second option.
C = 8.5x + 6y
Rearrange the equation by making the side with x, be on the Left Hand Side (LHS)
8.5x + 6y = C
Subtract 6y from both sides of the equation
8.5x + 6y - 6y = C - 6y
8.5x = C - 6y
Divide both sides of the equation by 8.5
(8.5x/8.5) = (C - 6y)/8.5
x = (C - 6y)/8.5
I hope this helped.