hello i started learning how to program this week and i am not able to complete this exercise you can see what is wrong in the code
static int division (int a, int b) {
int c= a-b;
while (c <= b) {
c = c - b;
}
if (c < b) {
return c + b; }
else {
return c;
}