i executed my code with two different ways to calculate the minimum of days he has to be attendant.
timeDuration = All Lessons he should have attended.
int x = (int) Math.ceil(((timeDuration/100.0)*75));
int y = (int) Math.ceil(timeDuration*0.75);
With way 1 i got a wrong answer, way 2 worked. i tested both ways with some numbers and 1 and 2 output allways the same.
Can you give me an example where 1 is wrong ?