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 of the following can be correct units for acceleration? A. miles/hr/m B. Km/s/hr C. m/s/m D. km/m/s
Find the value of the sum 219+226+233+⋯+2018. Assume that the terms of the sum form an arithmetic series. Give the exact value as your answer, do not round.
writing ( about 80 - 100 words ) :what is your best leisure activity? why?
Identify the volume and surface area of the hemisphere in terms of pie.
how does nation development occur? ​
Good morning everyone, can I ask a question and help me solve it, thanks
need help asap (giving brainliest)
पाठको तेस्रो अनुच्छेद युन्नुहोस् त्यसको मुख्य कुरा बताउनु होस्य : 6​
I need help with this question
saroj bought 40 books of rupees 16000 if We sold 10 books for rupees 40 each and remaining books for rupees 45 each what is total profit or loss​