Computer Science, asked by medikondurambabu87, 5 months ago

Difference between slash and mod ​

Answers

Answered by aishwsryabhatiwzl01
1

Answer:

Forward slash(/) gives the answer in float, while modulo(%) divides and gives the remainder. To determine the quotient and remainder of a division, use the floor division and modulo operators, respectively. Floor division is done using two forward slashes. The modulo operator is carried out with a percent symbol

Similar questions