1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Nadya [2.5K]
3 years ago
8

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

Computers and Technology
1 answer:
Kisachek [45]3 years ago
4 0

Answer:

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);

You might be interested in
Raid level 6 is basically the same as RAID level 5, but it adds a second set of parity bits for added fault tolerance and allows
Leviafan [203]

Answer:

True

Explanation:

3 0
4 years ago
Given an array of integers check if it is possible to partition the array into some number of subsequences of length k each, suc
allochka39001 [22]

Answer:

Explanation:

Using Python as our programming language

code:

def partitionArray(A,k):

flag=0

if not A and k == 1:

return "Yes"

if k > len(A) or len(A)%len(A):

return "No"

flag+=1

cnt = {i:A.count(i) for i in A}

if len(A)//k < max(cnt.values()):

return "No"

flag+=1

if(flag==0):

return "Yes"

k=int(input("k= "))

n=int(input("n= "))

print("A= ")

A=list(map(int,input().split()))[:n]

print(partitionArray(A,k))

Code Screenshot:-

3 0
3 years ago
On the cities worksheet, click cell f4 and enter a formula that will subtract the departure date (b1) form the return date (b2)
Mademuasel [1]
=(+B2-B1)*F3 is what you need to enter in cell F4
8 0
3 years ago
The tuning systems were not always reliable during the Baroque period. Why did composers use key signatures?
lapo4ka [179]

Key signatures were used because simply by knowing how many sharps or flats there were, the tuning would be more uniform. Tuning systems were not developed yet during the Baroque era and the concept of key was not introduced by then.

<span> </span>

7 0
4 years ago
What is the difference between a cell and an active cell?
Karolina [17]

Answer:

A cell is the intersection point of the row and columns whereas active cell is where the cursor is pointed.

Explanation:

Explanation: In a spreadsheet or worksheet, Table is the collection of a cell (intersection point of rows and columns) which is of two types - active cell and non-active cell.

8 0
3 years ago
Other questions:
  • Which of the following is NOT a type of simple machine?
    13·1 answer
  • What is an input periphal
    8·2 answers
  • Describe how computer become <br> in the next 35 year
    5·1 answer
  • Low-end CRM systems are designed for companies like Boeing because they only have a few, large customers.
    11·1 answer
  • How do the steps taken by leaders of Athens reflect a turn towrd democracy
    10·1 answer
  • Heather is troubleshooting a computer at her worksite. She has interviewed the computer’s user and is currently trying to reprod
    12·1 answer
  • Is this a desktop or a computer, or are they the same thing
    12·1 answer
  • What are the possible consequences of plagiarism?
    15·1 answer
  • What is the definition of shape
    14·2 answers
  • What (if any) are the same feature requirements that might be found in server software/OS environments
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!