✏️ Explanatory Question

Write one difference between / and % operator.

👁 86 Views
📘 Detailed Answer
🟢 Easy
💡

Answer with Explanation

/ operator computes the quotient whereas % operator computes the remainder.

What is the difference between / and % operator?
Figure: What is the difference between / and % operator?