Answer:
infinite
Step-by-step explanation:
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
Answer:
1716 ;
700 ;
1715 ;
658 ;
1254 ;
792
Step-by-step explanation:
Given that :
Number of members (n) = 13
a. How many ways can a group of seven be chosen to work on a project?
13C7:
Recall :
nCr = n! ÷ (n-r)! r!
13C7 = 13! ÷ (13 - 7)!7!
= 13! ÷ 6! 7!
(13*12*11*10*9*8*7!) ÷ 7! (6*5*4*3*2*1)
1235520 / 720
= 1716
b. Suppose seven team members are women and six are men.
Men = 6 ; women = 7
(i) How many groups of seven can be chosen that contain four women and three men?
(7C4) * (6C3)
Using calculator :
7C4 = 35
6C3 = 20
(35 * 20) = 700
(ii) How many groups of seven can be chosen that contain at least one man?
13C7 - 7C7
7C7 = only women
13C7 = 1716
7C7 = 1
1716 - 1 = 1715
(iii) How many groups of seven can be chosen that contain at most three women?
(6C4 * 7C3) + (6C5 * 7C2) + (6C6 * 7C1)
Using calculator :
(15 * 35) + (6 * 21) + (1 * 7)
525 + 126 + 7
= 658
c. Suppose two team members refuse to work together on projects. How many groups of seven can be chosen to work on a project?
(First in second out) + (second in first out) + (both out)
13 - 2 = 11
11C6 + 11C6 + 11C7
Using calculator :
462 + 462 + 330
= 1254
d. Suppose two team members insist on either working together or not at all on projects. How many groups of seven can be chosen to work on a project?
Number of ways with both in the group = 11C5
Number of ways with both out of the group = 11C7
11C5 + 11C7
462 + 330
= 792
The age of the van owned = 12 years
The age of the truck owned = 29 years
Step-by-step explanation:
Here, the given question is INCOMPLETE.
Laura takes very good care of her vehicles. She owns a blue van and a red truck. Although she bought them both new, she has owned the truck for 17 years longer than she has owned the van. If the sum of the ages of the vehicles is 41 years, how old is the van and how old is the truck?
Let us assume the number of years Laura has owned the van = S years
So, according to the question:
The number of years she has owned truck = S + 17 years
Now, Sum of the age of ( Truck + Van) = 41 years
⇒ (S + 17 years) + (S years) = 41 years
or, 2 S + 17 = 41
or, 2 S = 4 1 -1 7 = 24
or, S = 24/2 = 12 years
or, S = 12 years
Hence the age of the van owned = 12 years
The age of the truck owned = S + 17 = 12 + 17 = 29 years
Answer:
50
Step-by-step explanation: