asked 54.4k views
3 votes
I need help with solution

I need help with solution-example-1

1 Answer

6 votes

Answer:

A

Step-by-step 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,


(53)/(5) = 10

in Java,

So here


(13)/(5) = 2

Since a is assigned to that,


a = 2

Next, the symbol % acts as the remainder sign


b\%a

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


5\%2 = 1

So

b=1

The answer here is A

answered
User Shahbaz
by
8.6k points

No related questions found

Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.