Deleted.
Deleted.
Last edited by merotti; 12-15-2018 at 11:57 PM. Reason: Wrong Code
Try dividing by 3.0 instead of 3.
You need to lookup integer division to know what was happening.
Tim S.
"...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson