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
To find the average, combine all the numbers together and divide by the amount there is.
-7 + 2 - 9 - 4 - 7 = -25
-25/5 = -5
-5 is your average temperature
hope this helps
Answer:
1500 students
600 boys
Step-by-step explanation:
40% are boys, so 60% are girls.
Writing a proportion:
900 / 60% = x / 100%
x = 1500
There are 1500 students in the school, which means there are 600 boys in the school.
Answer:
The answer is 4 minutes
Step-by-step explanation:
I divided 825 by 3 and got 165. If you multiply 165 by all the factors, you get approximately 4 minutes. It's the closest. Try that one.