taymartin9969 taymartin9969
  • 09-10-2019
  • Computers and Technology
contestada

what is the output of intb= 4+ 6 /2 Systemoutprintln (b)

Respuesta :

joaobezerra joaobezerra
  • 13-10-2019

Answer:

Command: Systemoutprintln (b)

Output: 7

Explanation:

To solve this problem, we must take into account the precedence of operation.

The division takes precedence before the addition, so we must divide before we add for b.

So

int b = 4 + 6/2 = 4 + 3 = 7.

So

Command: Systemoutprintln (b)

Output: 7

Answer Link

Otras preguntas

Consider the line y=4/3x + 3 - Find the equation of the line that is perpendicular to this line and passes through the point (-9, -5) Find the equation of the
Consider the proof for the identity csc(x)+sin(x)=(2-cos^(2)(x))/(sin(x)).
solve for x. enter the number, in decimal form, that belongs in the green box.
What is the temperature of 2.60 mol of gas at a pressure of 102.63 atm and a volume of 341 mL
What is the greatest common factor of the terms of the polynomial: 15x^5 + 60x^4+ 9x^3
Find the area of the composite figure. (View picture)
25 points!!! And brainliest!!! In an archery competition, one of the targets is created using round board with congruent square holes. What is the probability t
Which of the following presidential powers did Lincoln use to ensure control over Washington, D.C.?
what is 85% of 40 , work it out​
HELP PLEASE AND SHOW WORK​