May-14-2019, 04:01 PM
(May-14-2019, 01:40 PM)perfringo Wrote:(May-14-2019, 01:34 PM)DarkCraftPlayz Wrote: Multiples of 5 are causing problems. I have tried fllor division, remainders.. but nome of it works.
How 'none of it works'? 7 divided by 5 gives 1 and 2 as reminder. I can spot that this is exactly what is needed (hint: first is zero-based index second is finger-based index)
Sorry but I still dont understand. When I divide 1-4 with 5, it gives 0 as quotient but when I divide 5 with 5 it gives 1, which goes in the next group. Basically, I am having problem with all the multiples of 5. I need their output to be in the previous group hut they are going in the next group.