結果 : average function returns div 0 error