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

Which factors would explain this pattern among predator and prey populations in this area? Choose all answers that are correct. a. The greater amount of foo
How do you identify the opposite and absolute value of a rational number
In legislative terms a bill is a proposal for.?
Tone, volume, and pace are part of A. written communication. B. body language. C. sign language. D. spoken language.
what are the characteristics of a leader
differences between ozone and oxygen
If four times a number plus 3 is 11, what is the number?
How did Jerusalem become the capital of the kingdom?
Which answer best describes the verb tenses in the sentence? By the time we got to Austin, the puppy falls asleep in the back of the van. a. The verb tens
What are the hardest things about being a boy/girl? If you could choose a new name, what would you pick, and why? This is for school and I need to get people'