calculate average numbers php progrm