The function that takes three decimal numbers as inputs and finds the sum of those inputs and returns the sum has been given below
What is programming?
Program is the set of instructions given to the computer so that the computer can execute those instructions. The act of writing program is called programming.
The program has been shown below
#include<stdio.h>
using namespace std;
int main()
{
double n1, n2, n3;
double s;
printf("Enter first numbers");
scanf(%lf, &n1);
printf("Enter second numbers");
scanf(%lf, &n2);
printf("Enter third numbers");
scanf(%lf, &n3);
s = n1 + n2 + n3;
printf("Sum = %f", s);
return 0;
}
To learn more about programming refer to the link-
brainly.com/question/23275071
#SPJ4
1 and 5
I think I’m not sure