Una said:yeah thats a start.. would rewrite it for you if I knew what you were trying to do in plain englishThings like
float amountArray [] = {0,0,0,0,0,0,0,0,0};
float endAmount [] = {0,0,0,0,0,0,0,0,0};
Are obviously gonna limit you to 9 inputs.