what is the deffrences between /and % opreator?
Answers
Answered by
1
Answer:
/ operator is used to get quotient between two numbers.
For example: 9/3 = 3
% operator is used to get remainder between two numbers
For example: 10%3 = 1 (As 10/3 gives a remainder of 1)
Similar questions