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
Saint Petersburg, Russia and Anchorage, Alaska, both have approximately the same latitude of 60 degrees. That means you can reac
user100 [1]

Answer:

Distance from Anchorage (longitude 150 degrees W) to Saint Petersburg (longitude 30 degrees E) = 10,002.47 KM

Step-by-step explanation:

As earth is a sphere of radius 6371 km.

Therefore at 60 degree latitude, the radius of circle can be calculated as shown below:

= 6371 * Cos 60

= 3185.5 KM

Saint Petersburg is nearly 180 degree about Anchorage by flying directly east.

So Distance from Anchorage (longitude 150 degrees W) to Saint Petersburg (longitude 30 degrees E) can be calculated as shown below:

= (180 * 2 * 3.1416 * 3185.5) / 360

= 10,002.47 KM

5 0
3 years ago
Simplify the Radical Expression 7√x-9√x+10√2+√2​
zysi [14]

Answer:

Step-by-step explanation:

7√x-9√x+10√2+√2​ = √x ( 7 - 9) +√2 ( 10+1) = - 2√x + 11√2

6 0
4 years ago
The distance between the manufacturing plant and Jessie’s home is 4 miles. It takes Jessie 40 minutes to walk that distance. Wri
iVinArrow [24]

Answer:

time taken to walk one mile × total distance in miles = total time

t × 4 = 40

Step-by-step explanation:

3 0
3 years ago
Factor Completely:<br> 4x²+8x
Sidana [21]
The answer is 4x(x+2).
8 0
4 years ago
Read 2 more answers
Find the measure of angle angle AGE in the figure below. Enter only the number.<br> Help please!
kirill115 [55]

Answer:

AGE = 129 degrees

Step-by-step explanation:

8 0
4 years ago
Other questions:
  • The sum of the first 3 terms of a geometric series is 171 and the common ratio is 2/3.
    7·2 answers
  • Suppose a pack of candy bars has 4 bars. Each bar weighs 3.37 ounces. How much does the pack weigh?
    7·1 answer
  • Find the difference between the polynomials: –3x+x^3–2x^2 and 4x^3–2x^2–4x<br> PLEASE HELP
    14·1 answer
  • Wait before you try to answer this i need to put the line on here What is the slope of this line?
    11·1 answer
  • Which point is a solution to the linear inequality y &lt; x + 2?
    14·2 answers
  • jason invested $200 she earned a simple interest of 10% per year on the initial investment.if no money was added or removed from
    15·2 answers
  • Help pls I have a test due tomorrow :(
    5·1 answer
  • Round 37.74 to the ones place.​
    5·2 answers
  • What is the distance between (-5, -5) and (−9,−2)
    8·2 answers
  • Use the result (a+b)²=a²+2ab+b² to find the value of 49²+98+1
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!