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

which is bigger 0.125 or 0.15?
A trailing or climbing plant is also known as a _____?
Deanna bought the poster shown below for her wall. Note: Figure not drawn to scale If a = 12 cm, b = 29 cm, c = 15 cm, and d = 19 cm, what is the area of the po
which country sponsored a voyage to claim settlements in North America
Calculate the number of molecules in 210 grams of H2O
What is the lateral area of a cone with radius 19 cm and slant height 11 cm?
All fungi are producers (true or false)?
Which of the following is the raw material from which sedimentary rocks are formed? A. magma from the mantle B. lava from volcanic eruptions C. none of these D.
True or false? Mice live for up to 10 years.
which genre uses narrative techniques to provide a glimpse into the human experience