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
Let s represent the number of games a baseball fan attends. Enter an
jek_recluse [69]

Answer:3240<50s*81=4050

6 0
3 years ago
The mid point of ab is m(-2,-6) if the coordinates of a are (-1,4) what are the coordinates of B
aliina [53]

Answer:

i hate thsi coordinate chapter its very difficult chapter u know

8 0
2 years ago
There are 48 students in a speech contest. Yesterday, 2/3 of them gave their speeches. Today, 3/4 of the remaining students gave
Dmitry [639]

Answer:

24 :))))))))))))))

Step-by-step explanation:

2/3 of 48 is 32, so 3/4 of 32 is 24.

8 0
2 years ago
Solving these quadratics for x using complete the square 3x^2-4x-1=0. Show your work.
UkoKoshka [18]
Answer: x = (sqrt(7) + 2)/3 and
x = ( – sqrt(7) + 2)/3

Explanation:

3x^2 - 4x - 1 = 0

Divide both sides by 3:

3x^2/3 - 4/3x - 1/3 = 0/3
x^2 - 4/3x - 1/3 = 0
x^2 - 4/3x = 1/3
x^2 - 4/3x + (2/3)^2 = 1/3 + (2/3)^2
(x - 2/3)^2 = 1/3 + 4/9
(x - 2/3)^2 = 7/9

Sqrt both sides:

x - 2/3 = sqrt (7/9)
x - 2/3 = |sqrt(7)/3|

Set x -2/3 = sqrt(7)/3

=> x = (sqrt(7) + 2)/3

Set x - 2/3 = - sqrt(7)/3

=> x = ( - sqrt(7) + 2)/3
6 0
3 years ago
3^4 + 3 ⋅ 5 = ____. (Input whole numbers only.)
valkas [14]

Answer:

96

<u><em>Calculate</em></u>

3^4+3\times5

<u><em>Calculate the power</em></u>

81+3\times5

<u><em>Calculate the product or quotient</em></u>

<u><em /></u>81+15

<u><em>Calculate the sum or difference</em></u>

96

<em>I hope this helps you </em>

<em>:)</em>

<u><em /></u>

8 0
2 years ago
Read 2 more answers
Other questions:
  • HELP ASSAP WITH THIS QUESTION
    5·2 answers
  • I need help in math. I never quite got these. (question 20)
    5·1 answer
  • Find the value of X if m is parallel to n
    8·1 answer
  • How do you figure out a fraction of a whole number
    5·1 answer
  • Line AB contains points A ( -3,5) and B (-3,3). Line AB has a slope that is
    11·2 answers
  • Sketch the graphs using 3 points that belong to it. a y = 3x + 2
    8·2 answers
  • Jennifer pays $8 delivery fee and $20 per box for fruits, if she has at least $100 how many boxes of fruit can she order?
    13·2 answers
  • What is the reduce form of 10/ab+x
    14·1 answer
  • (2x+y=0<br> {<br> -x + 3y = -14
    8·1 answer
  • PLEASE HELP "
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!