FUNCTION F_BONUS
  (salary in number)
  RETURN  number IS
  v_bonus number(2,2);
BEGIN 
  v_bonus := 0.05;
  if salary<5000 then
    v_bonus := 0.2;
  end if;
  return v_bonus;
END;