25 26 /* miles and hours */ 5. Given Program 11.19 that has overloaded function named average, which finds the average o
Posted: Fri May 20, 2022 5:14 pm
25 26 /* miles and hours */ 5. Given Program 11.19 that has overloaded function named average, which finds the average of given numbers. Complete the program by writing the function prototype named average (at line 6 and 7) that sends 3 parameters, writing the code that invoke the function average (at line 17 and 18), and writing the body of the overloaded function average that finds the average of three numbers (at line 29). [Diberikan Program 11.19 yang mempunyai fungsi sarat bernama average, yang mendapatkan purata bagi nombor yang diberi. Lengkapkan aturcara tersebut dengan menulis prototaip fungsi bernama average (pada baris 6 dan 7), menulis kod yang memanggil fungsi average (pada baris 17 dan 18) dengan menghantar 3 parameter, dan menulis badan fungsi sarat average yang mendapatkan purata bagi tiga nombor (pada baris 29).] 165