joshuakevwilson8
joshuakevwilson8 joshuakevwilson8
  • 17-07-2022
  • Advanced Placement (AP)
contestada

I need help with solution

I need help with solution class=

Respuesta :

culveryolanda46
culveryolanda46 culveryolanda46
  • 18-07-2022

Answer:

A

Explanation:

When dealing with comp sci,

the / symbol only cares about the whole number of the answer unless we cast it to a double.

For example,

[tex] \frac{53}{5} = 10[/tex]

in Java,

So here

[tex] \frac{13}{5} = 2[/tex]

Since a is assigned to that,

[tex]a = 2[/tex]

Next, the symbol % acts as the remainder sign

[tex]b\%a[/tex]

Remember b is 5, and a is 2 now, so

[tex]5\%2 = 1[/tex]

So

b=1

The answer here is A

Answer Link

Otras preguntas

Suppose that a 1000 kg car is traveling at 25 m/s (aprox 55mph). Its brakes can apply a force of 5000N. What is the minimum distance required for the car to sto
What is 1 2/5 minus 3/8 equal in simplest form
What is 5 divided by 720
What is the unit rate for 540 calories in 90 minutes?
Which expression is equivalent to this one? k · 6 + k · s A. 6(k + s) B. s(6 + k) C. k(6 + s) D. k · (6 + k) · s
Will the opposite of zero always ,sometimes or never be zero
Find 37.5% of 5280 feet
Meryl spends a total of 68.82 for 2 pairs of sneakers with the same cost. the sales tax is 5.32. Meryl also uses a coupon for 3 dollars off her purchase. how mu
The definition to reactivity with vinegar
Personal liberties were among the key ideas of the American Revolution. Given this fact, why did slavery continue after the American Revolution?A. The Southern