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
jolli1 [7]
3 years ago
14

Edhesive AP Computer Science Coding Activity 2:

Computers and Technology
1 answer:
Romashka-Z-Leto [24]3 years ago
7 0

Answer:

The method in C++ is as follows:

double average(int v, int w, int x, int y, int y){

   double ave = (v+w+x+y+z)/5.0;

   return ave;

}

Explanation:

This defines the average method with 5 parameters

double average(int v, int w, int x, int y, int y){

This calculates the average

   double ave = (v+w+x+y+z)/5.0;

This returns the calculated average

   return ave;

}

To call the method from the program's main, use:

<em>int main(){</em>

<em>    cout<<average(1,5,7,4,10);</em>

<em>    return 0;</em>

<em>}</em>

<em />

You might be interested in
Learning how to use word processing and spreadsheets, and creating presentations are all considered __________ computer skills.
irina [24]

Answer: a i hope it help

Explanation:

4 0
3 years ago
Read 2 more answers
after turning the volume all the way up on the speakers you still can't hear any sound which of the following should be your the
ivolga24 [154]

Answer:

check if its pluged in

Explanation:

7 0
4 years ago
How can I get a refund of my money back
irakobra [83]

Say you got a dress from Macys but you dont like or it doesnt fit whitin 30 days usally you can take it back(with receipt . Most of the time you must show whoever you want the refund from a receipt.

4 0
4 years ago
Read 2 more answers
Given two integer variables matricAge and gradAge, write a statement that gives gradAge a value that is 4 more than the value of
Natasha_Volkova [10]

Answer:

gradAge=matricAge+4;//Statement to give gradAge a value 4 more than matricAge.

Explanation:

This statement assigns the value stored in the matricAge variable with 4 added to it.So the value assigned to the gradAge is 4 more than value of matricAge.We have used assignment operator(=) to do this.Assignment operator assigns the value/variable's value written in the right to the variable to the left.

8 0
3 years ago
PACIFIC NORTHWEST
poizon [28]

Answer:

b) Tufts University Nutrition Web Page

Explanation:

The site that most likely provides a balanced information on eating a balanced diet is the Tufts University Nutrition Web Page

Tufts University is a moderate size, leading private research American higher education institution located in Massachusetts that offers degree programs on Food and Nutrition Policy and Programs

By comparison with the other sites which are;

a) Pork Producers Nutrition Page, which is expected to be related with pork production pork producers and pork consumers, based on the title focus, the information provided by the page is therefore, not meant for general use and therefore not meant to be balanced

c) The Eat What You Want Page, based on the of the page title literally which suggest the liberty for a user to eat what they want to eat does not appear to call for the input of an expert advice on nutrition, and therefore is not balanced.

8 0
3 years ago
Other questions:
  • An “AI” (artificial intelligence) could be used in:
    10·1 answer
  • A(n application system is the master controller for all the activities that take place within a computer system. _______________
    15·1 answer
  • In the windows firewall, any rules preceded by a __________ checkmark have not been enabled. black gray green red
    13·1 answer
  • In the output at the command line from a router that reads - ip ospf message-digest-key 1 md5 CISCO-123 - what does the CISCO-12
    15·1 answer
  • What are some objects in your home that demonstrate electrical energy to radiant energy to thermal energy
    10·2 answers
  • Sheila is using a process of saving files to her desktop and then renaming them. She is
    13·2 answers
  • Which of the following configuration files would you document
    6·1 answer
  • You can view information for the individual people who will perform the tasks on theproject in the
    7·1 answer
  • What is the difference between paper size and page margins in Word?
    10·1 answer
  • Write two recursive versions of the function minInArray. The function will be given a sequence of elements and should return the
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!