why would the programing come back with "missing return statement"?
public int add(int a, int b)
{
int c = a + b;
}public int add(int a, int b)
{
int c = a + b;
return c;
}public void move(int distance, int time)
{
if(time == 0)
{
return;
}
int speed = distance/time;
this.x += speed;
this.y += speed;
}