I need help with solution
![I need help with solution class=](https://us-static.z-dn.net/files/dbe/491b142f83dc7e26e1496af6607e6a02.png)
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