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
sukhopar [10]
4 years ago
15

Write a method called average that accepts two integer parameters and returns their average as a floating point value.

Computers and Technology
1 answer:
Serggg [28]4 years ago
5 0
In C:

float average(int x, int y)
{
    return (float)((x+y)/2);
}
You might be interested in
Who requests services and who facilitates services to a client.​
saveliy_v [14]

Answer:

The client-server model is the relationship between two computers in which one, the client, makes a service request from another, the server. The key point about a client-server model is that the client is dependent on the server to provide and manage the information. For example, websites are stored on web servers .

6 0
3 years ago
(Brainliest!!)<br><br> How do i get rid of a headache?
Gnom [1K]

ibuprofen

Explanation:

Ibuprofen is used to help relieve mild to moderate pain. When used with an opioid (such as morphine), it may be used to relieve moderate to severe pain. It is also used to reduce fever.

May Treat: Dysmenorrhea · Fever · Headache disorder · Juvenile idiopathic arthritis · Osteoarthritis and more

Brand Names: Caldolor · Advil · Advil Liqui-Gel · Children's Ibuprofen · IBU-200 and more

Drug Class: NSAID Analgesics (COX Non-Specific) - Propionic Acid Derivatives

Availability: Prescription sometimes needed

Pregnancy: Do not use. This medication may be harmful to an unborn child.

yeah g

5 0
2 years ago
Read 2 more answers
A manufacturing company has decided to be carbon free by 2030. What can it do to achieve this goal?.
olga2289 [7]

The company must take urgent steps to switch to renewable sources of energy in order to achieve their goal by 2030.

<h3>What is the meaning of carbon free?</h3>

The state of being carbon free implies that electricity is generated without relying on fossil fuels. We must recall that fossil fuels contain carbon hence they emit carbon dioxide when burnt.

For a manufacturing company to become carbon free they must take urgent steps to switch to renewable sources of energy in order to achieve their goal by 2030.

Learn more about fossil fuels: brainly.com/question/2029072

3 0
3 years ago
The diagram shows the positions of the Sun, Earth, and Moon during each moon phase. When viewed from Earth, at what point does t
goldfiish [28.3K]

Answer:

B

Explanation:

when it is on the same side of Earth as the Sun because it appears all black because of the shadow

7 0
2 years ago
Which type of attack is one in which a rogue wireless access point poses as a legitimate wireless service provider to intercept
il63 [147K]
Answer: An evil twin attack poses as a legitimate AP.<span />
7 0
3 years ago
Other questions:
  • An empty frame used to reserve space for a picture to be inserted at a later time is know as what
    6·1 answer
  • Question 7 of 10
    13·1 answer
  • CODE EXAMPLE 3-1 SELECT vendorName, invoiceNumber, invoiceDate, invoiceTotal FROM vendors INNER JOIN invoices ON vendors .vendor
    13·1 answer
  • In this lab, you will write a function called numberGuessingGame(). When the function is called, it will do the following: gener
    13·1 answer
  • How do you check how much space is left in current drive?
    9·1 answer
  • Match the items with their respective descriptions. organizes files make files easily searchable keeps track of file creation an
    14·1 answer
  • 25 Points Asap <br> Write a Java program named Light.java that displays a light bulb shown below:
    14·1 answer
  • A search engine finds bugs and system failures in your computer.<br><br> True or False?
    7·2 answers
  • Pick the correct statements on the 64-bit machine representation of numbers.
    5·1 answer
  • Once you select a theme, you__________ change the theme’s individual elements independently of each other.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!