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
Which number rounds to 0.32 rounded to the nearest hundredth
Naddik [55]
0.32 to the nearest hundredth would be 0.3
5 0
3 years ago
Read 2 more answers
4b + 5b I'm not sure if I did it right ​
n200080 [17]
It’s 9b it’s just 4+5 with the b
5 0
3 years ago
Read 2 more answers
Tye bought a pizza for his friends for dinner. Tye ate 1/12 of the pizza. How much pizza is left?
bezimeni [28]
11/12
Because if you do 1-1/12 or 12/12-1/12 it will give you 11/12 you can check by adding 11/12+1/12

4 0
3 years ago
(x-3) (x2+2x+1)<br> Foil method
AveGali [126]

Step-by-step explanation:

(x-3)(x^2+2x+1)

=x^3-3x^2+2x^2-6x+x-3

=x^3+2x^2-3x^2-6x+x-3

=x^3-x^2-5x-3

___________

8 0
3 years ago
Louise bought a frame and canvas online for $125. Then she bought all the supplies shown in the table and paid a 7% sales tax on
dem82 [27]

9514 1404 393

Answer:

  $342.37

Step-by-step explanation:

When a quantity is marked up by x%, its marked-up price is (1 +x/100) times its original price. Tax is effectively a markup.

Louise's costs are ...

  $125 + (12.50 +19.50)(1.07) = $159.24

Louise priced her painting at ...

  $159.24·(1 +1.15) = $342.37

7 0
2 years ago
Other questions:
  • Two teachers compared the mean absolute deviation of the scores from the semester exam they gave to their students. Mrs. Alvarez
    14·1 answer
  • SOMEONE plezzz help<br> (b–2)(b+2)(b^2+4)
    14·1 answer
  • The ages of five friends are 20,31,28,31 and 25. How many of the friends are older than the average (arithmetic mean) age?
    8·1 answer
  • Simplify.<br> 3/4 squareroot -48
    13·1 answer
  • Which equation represents the circle described?
    10·2 answers
  • Which of the following is true?
    11·1 answer
  • 2a) Solve using substitution.
    14·1 answer
  • What is the slope of the line that passes through the following points? <br> (-1,-2) and (-3,-4)
    8·1 answer
  • Plz help me
    10·1 answer
  • A- CE=CD <br> B- CE = CA <br> C- BF=DF <br> D- DF=EF<br><br> please help!!
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!