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

somebody please help me on this geometry it is urgent!! i’ll mark you the brainliest please don’t waste answers
distinguish between Urban and rural poverty ​
How is a reflection different than a rotation
Will mark the brainliest And thank you:)
Consider the geometric sequence 1/64, 1/16, 1/4, 1, …. What is the common ratio?
Interpreting an Expression Quick Chec How many factors does the expression (17 –r) have? O four O two one three​
Which of the following represents the best example of the Type A personality characteristic that is most strongly linked to cardiovascular disease?A) Borderline
When the frequency of a time-filling behavior increases as a side effect of other behaviors maintained by a schedule for reinforcement (also known as schedule-i
which is easier to observe, the physical or chemical properties of an object
tia shares 53 balloons equally among 4 children how many balloons will be left over