Ask Question
20 March, 02:49

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

+5
Answers (1)
  1. 20 March, 05:43
    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?
Get 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 there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers