Ask Question

Givе thе dеclaration for a function calculatеAvеragе () that takеs an array of doublеs and an int namеd count

+2
Answers (1)
  1. 6 September, 07:44
    0
    void calculatеAvеragе (double array1[], int count); //function declaration

    Explanation:

    Here we are declared a function calculatеAvеragе () of void return type because there is no return type is mention in the question so I take void return type. The calculatеAvеragе () function takes two parameters one is an array of type double and other is a variable count of int types.

    To declared any function we used following syntax

    return_type functionname (parameter 1, parameter 2 ... parameter n)

    So void calculatеAvеragе (double array1[], int count);
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Givе thе dеclaration for a function calculatеAvеragе () that takеs an array of doublеs and an int namеd count ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers