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
Please help!!! Please help me! This is due tomorrow and I really need some help! Thank you.
grandymaker [24]

Answer:

<em>o</em><em>k</em><em> </em><em>i</em><em>'</em><em>l</em><em>l</em><em> </em><em>h</em><em>e</em><em>l</em><em>p</em><em> </em><em>u</em><em> </em><em>s</em><em>a</em><em>y</em><em> </em><em>t</em><em>h</em><em>a</em><em>n</em><em>k</em><em>y</em><em>u</em><em> </em><em>t</em><em>o</em><em> </em><em>m</em><em>e</em><em>!</em><em>!</em><em>!</em><em>o</em><em>s</em><em>h</em><em>i</em><em>e</em><em>e</em>

6 0
3 years ago
A train travels 43 miles in 1/6 hour. How many miles does the train travel in 7 hours? (To form the unlock code, write your answ
SIZIF [17.4K]

Answer:

6081 (original 1806)

Step-by-step explanation:

to get from 1/6 to 7 you must multiply by 42

then you multiply 42 by 43

42 * 43 = 1806

the answer is 1806 but the unlock code is backwards so its 6081

6 0
2 years ago
Find the area of a circle with a radius of 2.5 inches. round to the nearest tenth. use 3.14 for pi.
nignag [31]

Answer:

a=19.6 inches^2

Step-by-step explanation:

The area of a circle can be found using

a=πr^2

We know the radius is 2.5, so we can substitute it in for r

We can also substitute 3.14 in for π

a=(3.14)*(2.5^2)

a=(3.14)*(6.25)

a=19.625

Round to the nearest tenth

a=19.6 inches^2

7 0
3 years ago
can someone give me the correct answers for all of the unanswered question. the question are in the picture below. pllllllllllll
KATRIN_1 [288]
You get a number less than 7 when you roll a normal dice.
Certain

You get a six when you roll a normal dice.
Likely

Front page of a newspaper will contain the word and.
Certain

Multiplying an odd number by an odd number gives you an odd number.
Even Chance

The next car you see is not a Rolls Royce.
Likely

It is impossible that Ethan will take a red sweet from bag 4.

It is unlikely that Ethan will take a red sweet from bag 3.

It is an even chance that Ethan will take a red sweet from bag 5.
7 0
4 years ago
Read 2 more answers
The weight of water is 62 and one half lb per cubic foot. What is the weight of water 8 and one half cubic feet of​ water? How m
Westkost [7]
The weight is 62 and a half lb per cubic feet.
8 0
3 years ago
Other questions:
  • Simplify.
    10·1 answer
  • The new shanghai restaurant offers a choice of five appetizers, two choices of soups, and eleven choices of entrees for its lunc
    15·1 answer
  • Which of the following functions is graphed below?
    6·1 answer
  • (5,6), (9,1) slope intercept form
    10·1 answer
  • When solving the equation 3x = 9, Daniel used a property of algebra and transformed the equation into x=3. Which property did he
    10·2 answers
  • The figures are similar, and the ratio of the perimeters is 2 : 5. Find x.
    7·1 answer
  • I need help on this question I need the answer
    13·2 answers
  • Pls help pls help me<br><br><br><br><br><br> Compare the following 2/-3, -4/5, 21/-32, -15/24
    14·1 answer
  • A man got 10% increase in his salary. If his new salary is 1,54,000 fid his original salary.
    15·1 answer
  • 1. Tickets to a football game are $5.00 for adults and $3.00 for students. The total
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!