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
Alex_Xolod [135]
1 year ago
14

function in c that takes three decimal numbers as inputs and finds the sum of those inputs and returns the sum

Mathematics
1 answer:
kozerog [31]1 year ago
7 0

The function that takes three decimal numbers as inputs and finds the sum of those inputs and returns the sum has been given below

What is programming?

Program is the set of instructions given to the computer so that the computer can execute those instructions. The act of writing program is called programming.

The program has been shown below

#include<stdio.h>

using namespace std;

int main()

{

double n1, n2, n3;

double s;

printf("Enter first numbers");

scanf(%lf, &n1);

printf("Enter second numbers");

scanf(%lf, &n2);

printf("Enter third numbers");

scanf(%lf, &n3);

s = n1 + n2 + n3;

printf("Sum = %f", s);

return 0;

}

To learn more about programming refer to the link-

brainly.com/question/23275071

#SPJ4

You might be interested in
A different map has a scale of 1:50000
Deffense [45]

Answer:

8 Km

Step-by-step explanation:

16 x 50000 = 800,000 cm

800,000 cm = 8,000 m

8,000 m = 8 km

I hope this helps, if not sorry

6 0
3 years ago
Which choice is equivalent to the product below?
Anna [14]

Answer:

4√7

Step-by-step explanation:

it's correct I m pretty sure but dat

5 0
2 years ago
What is 5 to the power of 6 over 5 to the power of 2
AlekseyPX

Answer:

625

Step-by-step explanation: 5^6/5^2

multiply 5^6 and than devide your answer with 5^2

6 0
2 years ago
Read 2 more answers
A vehicle is purchased for $18,000, with a down payment of $6,098. The balance in financed for three years at an annual rate of
mestny [16]
The Present value of an annuity is given by PV = P(1 - (1 + r/t)^-nt)/(r/t)
where: P is the monthly payment, r is the annual rate = 7% = 0.07, t is the number of periods in one year = 12 and n is the number of years = 3.

18,000 - 6,098 = P(1 - (1 + 0.07/12)^-(3 x 12)) / (0.07/12)
11,902 = P(1 - (1 + 0.07/12)^-36) / (0.07/12)
P = 0.07(11,902) / 12(1 - (1 + 0.07/12)^-36) = 367.50

Therefore, monthly payment = $367.50
7 0
2 years ago
The price-earnings ratio for firms in a given industry follows the normal distribution. In this industry, a firm whose price-ear
lesantik [10]

Answer:

The correct answer is

A. 16%

Step-by-step explanation:

The zscore is used to solve problems of normally distributed samples.

This score indicates the percentage of a certain measure. It can be found looking at the z table.

For example, if a measure has a percentile of 75%, it is in the 100%-75% = highest 25 percent of all the measures.

Z = 1 has a pvalue 0.8413. So it is in the highest 1-0.8413 = 0.1587 = 16% percent of firms in the industry.

The correct answer is

A. 16%

4 0
3 years ago
Other questions:
  • Which graph represents the function below?
    6·2 answers
  • 6/15 in simplest form
    8·1 answer
  • Combing like terms in an quadiatic expression <br><br>2x2-10x-8+7x
    9·1 answer
  • Which statements are true regarding the area of circles and sectors? Check all that apply.
    12·2 answers
  • How do I put the slope and y-intercept on the graph
    15·2 answers
  • The point (3, -4) is on the terminal side of an angle Θ . What is cos Θ
    15·1 answer
  • A(3,0), B(2,7) , C(6,4)<br> What is the slope of line AC
    12·1 answer
  • Helpppppp :((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((9999
    8·1 answer
  • Simplify the inequality 2y&gt;4
    10·1 answer
  • Which expression is equivalent to 7x + 4x2 – 5x?
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!