{
if( Low1<Low2)
return High1-Low1;
if( Low2<Low1)
return High1-Low2;
if( High1<High2)
return High2-Low1;
if( High2<High1)
return High1-Low1;
}
When I try to compile it gives me 2 errors "cso161 not all code paths return a value" pointing me to the parts in bold. Could somebody please explain what that means and how to fix it?
Comment