+ 1

What is floor division

20//3>>>6. ?

1st Dec 2016, 12:53 AM
chris
2 ответов
+ 5
for your example 5 // 2 equals to 2 remainder 1 but your answer should be 2 because floor division operator sign will display the times 2 goes in 5 not the remainder
9th Dec 2016, 2:10 AM
Xperience
Xperience - avatar
+ 1
floor of a division is only and only the integer number from result without any decimal part in other word, round to down ;)
1st Dec 2016, 1:33 AM
Nima Moradi
Nima Moradi - avatar