0
What is the output of 9% 18
12 Réponses
+ 6
9
Remainder operator will return first number if second number is bigger:
9%18 = 9
5%7 = 5
3%4 = 3
+ 2
Try to divide 9 by 18. The quotient is... 0... so the remainder is... ?
+ 1
@Vladimir Honcharenko is right!
0
9, becoz % operator returns the remainder so 9 % 18 = 9
0
9
- 1
why??
- 1
the answer is 9 .. this is very basic even a beginner like me can easy answer without coding or using calculator.
- 1
0
- 2
not satisfactory
- 2
0
- 2
1/2. 0.5. 1 or 0