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
2 meters<br> 2 meters<br> 5 meters<br> 4 meters<br> What is the area of the shape?
Alex73 [517]
C
A million apologies if I’m incorrect
6 0
3 years ago
Read 2 more answers
The Question Is Above
Fofino [41]

Answer:

b

Step-by-step explanation:

5 0
2 years ago
Read 2 more answers
56 POINTS! Find the area of the following figure. Explain how you got your answer.
AleksAgata [21]

Answer:

26.5 units²

Step-by-step explanation:

I am splitting the figure into a rectangle and two triangles to make this easier for me.

The rectangle is b•h so 5•4 = 20 units²

Area of triangle=1/2bh

The left triangle is \frac{1}{2}(3•3) ---> \frac{1}{2}(9) ---> 4.5 units²

The right triangle is \frac{1}{2}(2•2) --->\frac{1}{2}(4) ---> 2 units²

Then add it all up: 20+4.5+2 = <u>26.5</u><u> </u><u>units²</u>

3 0
2 years ago
Scientific notation 105
Kazeer [188]

Answer:

1.05 × 10^2

Step-by-step explanation:

7 0
2 years ago
Read 2 more answers
john work at the grocery store 6/5/8hrs Tuesday, 3//1/4hrs,on Thursday and 7//1/2hrs on Saturday how many hrs did he work that w
ella [17]

Answer:idk why u ask? ? ? ?

Step-by-step explanation:

8 0
3 years ago
Other questions:
  • Put these numbers in order from greatest to least.<br>0.012<br>0.002<br>0.02<br>0.512<br>​
    10·1 answer
  • Compute (1+i)(1+2i)(1+3i).
    12·1 answer
  • The ratio of areas between two similar triangles is 1:4. if one side of the smaller triangle is 2 units, find the measure of the
    9·1 answer
  • [Precalculus] Use trigonometric identities to express:
    13·1 answer
  • What do you simplify 5/54
    11·1 answer
  • Solve three-fourths b minus one-sixth equals one-half for b
    11·1 answer
  • 1 free pass to heaven if you help and get it right
    8·2 answers
  • Find the measure of angle x.
    10·2 answers
  • <img src="https://tex.z-dn.net/?f=%5Cfrac%7Bx%7D%7B5%7D%20%3D%20%5Cfrac%7B10%7D%7B2%7D" id="TexFormula1" title="\frac{x}{5} = \f
    15·1 answer
  • She ran 52.16 seconds per 400 meters, how fast was she running in meters per hour?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!