sheak15 sheak15
  • 25-02-2021
  • Computers and Technology
contestada

Write a program that accepts three decimal numbers as input and outputs their sum.

Respuesta :

max3426
max3426 max3426
  • 26-02-2021

Answer:

void sum(float a, float b, float c){

printf("%0.3f", (a + b + c));

}

Explanation:

The answer given is written in C, but the same function can be reimplemented easily in whatever language this is required in.

Answer Link

Otras preguntas

What are 3 things an Apple, Knife and Mirror have in common?
What was vomitorium used for?
what is red snapper? could you help me?
1)simplify the expression (2x)^42)the perimeter of a rectangular is twice the sum of its length and its width. the perimeter is 16 meters and its length is 2 me
please help me write equation for each condition listed. 1- The vertical line that passes through ( –7, 4 ) 2- The horizontal line that passes through
why oxygen important in your body?
1)simplify the expression (2x)^42)the perimeter of a rectangular is twice the sum of its length and its width. the perimeter is 16 meters and its length is 2 me
What is the negative form of Elles y regardent la télé
Q1. In a 100m track event, the time taken by four runners is 10 sec., 10.2 sec., 10.4 sec and 10.6 sec. Find the ratio of their speed.
How do you find the constant of variation when y=-(2/3) and x=3