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
Two students, Carlos and Sophie, factored the trinomial -4x2 − 10x + 6. Sophie factored it as -2(2x − 1)(x + 3) and Carlos facto
damaskus [11]

Sophie has factored the term completely while Carlos has not factored the term completely.

Step-by-step explanation:

We need to factor the trinomial:

-4x^2-10x + 6

Factoring:

-4x^2-10x + 6\\Taking\,\,-2\,\,common:\\-2(2x^2+5x-3)\\Now\,\,factoring:\\-2(2x^2+6x-x-3)\\-2(2x(x+3)-1(x+3))\\-2(2x-1)(x+3)

So, the factored form of -4x^2-10x + 6 is -2(2x-1)(x+3)

So, Sophie has factored the term completely. The terms are factored when we cannot further simplify it. Since Carlos factored (x+3)(-4x+2) 2 can be taken common from the term (-4x+2) so, it is not factored completely.

Keywords: Factoring the terms

Learn more about Factoring the terms at:

  • brainly.com/question/1464739
  • brainly.com/question/1464739
  • brainly.com/question/2568692

#learnwithBrainly

7 0
3 years ago
Question 8 HELPPPPPPPPPPPPPP
PolarNik [594]

Answer:

it would be at 3

cause double negatives cancel out- if u c something like -- or -(-) they would become a positive- so you would plot it at positive 3

hope this helps (again lol)

<33

Step-by-step explanation:

3 0
2 years ago
Read 2 more answers
I can’t find the surface area and volume of this cylinder, can someone please help?
stealth61 [152]

Answer:

112 PIE CM CUBE

Step-by-step explanation:

7 0
3 years ago
Read 2 more answers
What is the equation of the vertical line that contains the point (-3,8)?
forsale [732]

Answer: The answer is; x=-3

Step-by-step explanation: (The work is in the image below)

Additional note: hey! I hope that this helps you! Have a good day!

8 0
3 years ago
How do i solve this
MAXImum [283]

Answer:

x = 0, x = 3

Step-by-step explanation:

Given

- 4x² = - 12x ( add 12x to both sides )

- 4x² + 12x = 0 ← factor out - 4x from each term

- 4x(x - 3) = 0

Equate each factor to zero and solve for x

- 4x = 0 ⇒ x = 0

x - 3 = 0 ⇒ x = 3

5 0
3 years ago
Other questions:
  • 6000 lb/day = how many t/wk
    7·2 answers
  • (ii) 4xz? [- xyz + 3yz?]​
    6·1 answer
  • Solve the following system of equations and show all work.<br><br> y = 2x2<br> y = −3x −1
    14·1 answer
  • One number added to twice another number is 13. Four times the first
    8·1 answer
  • Suppose that you flip a coin 13 times. What is the probability that you achieve at least 5 tails?
    12·1 answer
  • 72 ivy sterms for 18 cenerpieces when she arrives at the venue, she realizes she will need 16 centerpieces. How many ivy sterms
    8·1 answer
  • (no links or files) Solve this equation using the quadratic formula. This question should be solved both ways. (1) Quadratic For
    8·1 answer
  • Write the fraction as a product of a whole number and a unit fraction.<br><br> 7/8
    14·1 answer
  • A car depreciates each year in value after purchasing. When you bought a car in 2017, it was worth$12,500. Now in 2020, the car
    14·1 answer
  • Danielle worked three days last week for a total of 18.25 hours. She worked 6.5 hours on Monday and 5.75 hours on Wednesday. How
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!