mardi 25 juillet 2017

Why does my code stop at a certain point

I have some code and for some reason, my variable won't do any math past a certain point.
The variable is here:
And my system.out.println also.

...
int finalp = min2 * max2 / multiplier1a + randomc;
int finalpa = finalp - randomf / min2 * multiplier2a / max2;
System.out.println("FinalP(roduct) : " + finalpa);
...

Any idea why this happens and how I can fix this error.




Aucun commentaire:

Enregistrer un commentaire