FUNCTION CALC_BONUS ( salary IN number) RETURN number IS bonus number; BEGIN bonus := salary * 0.2 ; RETURN bonus; END;