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

the floor of our classroom is 50 feet by 75 feet what is the area of our floor
In Buddhism, the __________ provides a set of concepts to improve life and reach enlightenment. a. Torah b. Bible c. Qur’an d. Eightfold Path
What is central idea?
A baseball is thrown a distance of 20 meters what is its speed if it takes 0.5 seconds to cover the distance?
Solve the equation: 0.5t-3t+5=0
An apple orchard sells apples in bags of 10. The orchard sold a total of 2,430 apples one day. How many bags of apples was this ?
when creating a graph, why is appropriate title for a graph important?
A steel block has a volume of 0.08 m³ and a density of 7,840 kg/m³. What is the force of gravity acting on the block (the weight) in water?
What structural decision does a translator make when translating an original text? a. Character development b. Word choice c. Conflict resolution d. Dialogu
3x + 4 ( x - 8 ) -x = 3 /5 ( 10x + 15 ) In the end is it -160 = 45 No solution?