Yukarıda doğru fonksiyon verilmiş. Ne gibi bir hata alıyorsun ?