Is there a question in your post?
He has actually - within his code, under his comment !
Umm, I don't really understand what exactly do you want to do.. but:
fmovex gives 0 makes sense because you started with:
int fmovex = 0; (and it didn't change then)
I don't understand this line:
int (movex[i] = (fmovex));
- don't you mean
fmovex = movex[i];
??
Another slight problem I see is:
(movex[i]<movey[i+1])
...when it will reach the last index of
movex, there is no i+1 index of
movey because both arrays have '4' indices.
Please explain what do you 'want' to do... for example, you want
fmovex to be 16, and then 17, and so on, until 48.. etc.