78.9k views
2 votes
Which operator is used for quotient division in java​

User Ali Kahoot
by
8.1k points

1 Answer

2 votes

Answer:

Step-by-step explanation:

In the above expression 7 is divided by 2, so the quotient is 3 and the remainder is 1. Approach: Divide the dividend by the divisor using / operator. Both dividend and divisor can be of any type except string, the result will also be computed accordingly. Get the remainder using % operator.

User RPaul
by
8.3k points

No related questions found