Computer Science, asked by mayankmehndiratta24, 24 days ago


Differentiate between /' and' //' operators by giving
example.​

Answers

Answered by ranu3162
2

Answer:

/ is a normal division operator and // is a floor division operator. Now the question is what is normal division operator and what is floor division operator? Normal division operator gives exact result value when we divide something however floor division operator gives the floor value of exact result value when we divide something.

For example - 5/2 will result 2.5 so here 2.5 is the exact result value and floor value of 2.5 would be 2 so 5//2 will result 2.

I am Lisa, I hope it will help you...

Similar questions