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 is 54 divided by 7
material composed of two or more elements or compounds that are physically mixed together but not chemically combined whats the answer please?
count by tens and ones to find the sum of 45+26
Can some one help me solve this how many meters is this
How to write 100,203 in word from and expanded form
What are two things that the amount of gravitational force between two object depends on
What action caused the greatest human loss for Napoleon’s army?
Solve for x: 8 is to 64 as 2 is to x
Crossword hint (6 letters): Transport type with a net movement of substance across a membrane against a concentration gradient; requires use of cellular energy
to convert from square miles to square feet,what operation will you use