04-09-2011, 01:14 PM
(04-09-2011, 01:00 PM)Untouch Wrote: I got 15.8 and I thought I was good at maths. Can you show working out?
How did you get a decimal? It's an integer calculation..
80 % ( 2 *( 5 + 3 * ( 4 + 6 * ( 5 / 2 )) / 10))
80 % (2 * ( 5 + 3 * ( 4 + 6 * 2) / 10))
80 % (2 * ( 5 + 3 * ( 4 + 12) / 10))
80 % (2 * ( 5 + 3 * 16 / 10))
80 % (2 * ( 5 + 48 / 10))
80 % (2 * ( 5 + 4))
80 % (2 * 9 )
80 % 18
8
80 % 18 = 80-18-18-18-18 = 8
% is modulus division, or the whole remainder wen dividing integers.
Hope this helped
I don't splel check.