Listen to your compiler:



test.cpp:16: error: declaration of `int Soru1::Average'
test.cpp:11: error: conflicts with previous declaration `double Soru1::Average()


You can't have two class...