Its just complaining because there's no "default" return.. so if you call getDirection(30) it wont be able to handle it... you just need to add something like
return "";
just between the last 2 braces.
__________________
There are only two industries that refer to their customers as "users". - Edward Tufte
|