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
A card is drawn at random from a deck consisting of cards numbered 2 through 10. a player wins 1 dollar if the number on the car
Schach [20]
50% chance of winning and 50% chance of losing.
8 0
4 years ago
(x ÷ 8) + 23 – 4 = 36
kifflom [539]

Answer:

(x ÷ 8) + 23 – 4 = 36

x = 136

Step-by-step explanation:

3 0
3 years ago
Adult tickets to the fall play cost $8 and student tickets cost $4. The drama class sold 30 more adult tickets than student tick
pashok25 [27]
The drama class sold 100 adult tickets?????

3 0
3 years ago
Ali earned $341 on Friday . If she was paid $22 per hour for the first 8 hours and time and a half for each overtime hour, calcu
nalin [4]

Answer:

she worked 7.5 hours of over time

Step-by-step explanation:

22x8=176

341-176=165

165/22=7.5

4 0
3 years ago
HELP! last one of the day!
quester [9]
The bisector of the angle at A (call it AQ) divides the segment BC into segments BQ:QC having the ratio AB:AC. Use this fact to find x.

.. 9:15 = (2x -1):3x
.. 15(2x -1) = 9*3x . . . . . the product of the means equals the product of extremes
.. 30x -15 = 27x
.. 3x = 15
.. x = 5

___
According to the value of x, the bisector AQ divides the triangle into two isosceles triangles: ABQ, ACQ.
7 0
4 years ago
Other questions:
  • Find the distance between the points (4, 6) and (2, -6). Round to the nearest tenth.
    15·1 answer
  • Write the ratio 18 feet to 7 yards as a fraction in simplest form
    13·1 answer
  • If the sin of angle x is 4/5 and the triangle was dilated to be two times big as the original, what would be the value of the di
    6·1 answer
  • PLS HELP EASY MATH!!!!
    5·2 answers
  • Select the correct answer.
    6·2 answers
  • Needs to be written in scientific notation. please help me.
    6·1 answer
  • Solve the following answer √50 * 3√2 =
    8·1 answer
  • Can someone help me find and answer an equation to the following math question : Natalie earns 5% commission on all electronics
    8·1 answer
  • Please help me I’m not smart <br> and this test is due in one hour.
    8·1 answer
  • Someone pls help I need it for a test
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!