0
16/5 isn't 3
I don't know how you get this?
5 odpowiedzi
+ 8
use float or double
+ 2
/ - is operator that gives you integer part
% - gives you reminder
16 / 5 = 3 + (1/5)
16 / 5 = 3
16 % 5 = 1
3 is integer part
1 is reminder
+ 1
thank you
0
DGHSERT4N
0
[//Write.tell//Any remainder is dropped off to return a integer value.]