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
How to convert decimal to binary by hand?
Katena32 [7]
You have to divide decimal number by 2 and then to write the reminder. Then you have to continue to divide the result by 2 and so on. At the end you have to read all those reminders ( numbers 0 and 1 ) backwards and you will get the binary number. Example: Convert 10 ( decimal ) to binary.
10 : 2 = 5  |   0
  5 : 2 = 2  |   1
  2 : 2 = 1  |   0
  1 : 2 = 0  |   1
                        ↑
Finally:  10 ( decimal ) = 1010 ( binary )
7 0
3 years ago
What is the volume of the right rectangular prism below?
Klio2033 [76]

Answer:

a

Step-by-step explanation:

dont have a rectangler prism.

6 0
3 years ago
A man starts walking north at 4 ft!s from a point . five minutes later a woman starts walking south at 5 ft!s from a point 500 f
damaskus [11]

Answer:

ds/dt = 6.98 ft/s

Step-by-step explanation:

- The speed of man due north Vm = 3 ft/s

- The speed of woman due south Vw = 4 ft/s

- Woman starts walking 5 mins later than man

Find:

At what rate are the people moving apart 15 min after the woman starts walking?

Solution:

- The total time for which the man is walking due north from P, is Tm:

                                  Tm = 5 + 15 = 20 mins

- The total distance traveled by man in Tm mins is:

                                  Dm = Tm*Vm

                                  Dm = 20*60*3

                                  Dm = 3,600 ft

- The total time for which the woman is walking due south from 500 ft due east from P, is Tw:

                                  Tw = 15 = 15 mins

- The total distance traveled by man in Tw mins is:

                                  Dw = Tw*Vw

                                  Dw = 15*60*4

                                  Dw = 3,600 ft

- The displacement between man and woman at any instance is (s) which can be related by pythagoras theorem as follows:

                                  s^2 = (dm + dw)^2 + 500^2

Where, dm : Distance travelled by man at any time Tm

           dw : Distance travelled by woman at any time Tw

- Differentiate s with respect to t:

                                  2s*ds/dt = 2*(dm + dw)*(Vm + Vw)

                                  s*ds/dt = (dm + dw)*(Vm + Vw)

                                  ds/dt = [ (dm + dw)*(Vm + Vw) ] / s

- Evaluate the rate of separation of man and woman ds/dt by evaluating at instance Tm = 20 mins and Tw = 15 mins. We have:

                ds/dt = [ (Dm + Dw)*(Vm + Vw) ] / sqrt ( (Dm + Dw)^2 + 500^2 )

- Plug in the values:

                ds/dt = [ (3600 + 3600)*(3 + 4) ] / [sqrt ( (3600 + 3600)^2 + 500^2 )]  

               ds/dt = 6.98 ft/s

4 0
1 year ago
16/9 is equal to 2 times which fraction?
xxTIMURxx [149]

Answer:

The answer is 8/9

Hope this helps

6 0
3 years ago
Read 2 more answers
Please view picture. Also please tell mehow you got the answer
Cerrena [4.2K]
Have a look at the image attachment. I've added the points A, B, C, D such that
A = base of the diving board pole, or location of the pool deck
B = the location 1.6 meters directly above point A
C = location of the person's eyes
D = diving board location
The goal is to find the length of segment AD

We are given
AB = 1.6
BC = 3.67
what we want to find is
BD = x

Due to the fact we have similar right triangles ABC and CBD, we can form the proportion below and solve for x
AB/BC = BC/BD
1.6/3.67 = 3.67/x
1.6*x = 3.67*3.67
1.6*x = 13.4689
1.6*x/1.6 = 13.4689/1.6
x = 8.4180625

So BD is 8.4180625 meters
Use this to find the length of AD
AD = AB + BD
AD = 1.6 + 8.4180625
AD = 10.0180625
which rounds to 10.0 meters when rounding to the nearest tenth (one decimal place)

------------------------------------------------------------------------------------------

Answer: choice D) 10.0 m

7 0
4 years ago
Other questions:
  • 1+1+1+11+1+1+0+1+11+1×0+1
    15·2 answers
  • Two different red-light-running signal systems were installed at various intersection locations with the goal of reducing angle-
    6·1 answer
  • Solve the equation for g.
    14·1 answer
  • . Solve using synthetic division. (x3 − 3x2 − 5x − 25) ÷ (x − 5)
    11·1 answer
  • I need help with this please :(
    8·1 answer
  • A linear function contains the following points. What are the slope and y-intercept of this function?
    5·2 answers
  • Please solve this problem and I’ll give brainliest
    9·1 answer
  • Lisa and Rachel want to determine their muscular endurance, but they don't have access to a gym or any weight-lifting equipment.
    6·2 answers
  • Can anyone give definition of liner expression <br> need it ASAP
    13·2 answers
  • Someone solve this for me I’m stuck
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!