+ 2

How to do a floor division in C++?

7th Apr 2017, 7:55 AM
School Dog
2 Réponses
+ 16
7th Apr 2017, 9:52 AM
Shamima Yasmin
Shamima Yasmin - avatar
+ 4
Dividing 2 int variables is floor division only. 7 / 2 = 3, 6 / 2 = 3, 5 / 2 = 2 and so on.
7th Apr 2017, 2:13 PM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar