Children=x
Adults=y
* x + y =275 => x = 275 - y
* 3.00x + 6.40y = 1284 <=> 3.00(275 - y) + 6.40y = 1284 <=> ... <=> y = 135 => x = 275 - 135 = 140
Children: 140
Adults: 135
Answer: 8 tons
Step-by-step explanation:
Answer:
126
Step-by-step explanation:
n! / (r! (n-r)!)
In this case n = 9 and r = 4
9!/ (4! * (9-4)!)
9!/ (4! * 5!)
= 126
9! = 9x8x7x6x5x4x3x2x1
Answer:
The minimum number of assignment statements needed is 5
Step-by-step explanation:
To write the algorithm, we apply the strategy of interchanging the values of variables in the assignment statements.
Assume "tmp" is the new variable, let assign tmp to w
The algorithm is:
Procedure exchange (w,x,y,z: integers)
tmp := w
w := x
x := y
y := z
z := tmp
return (w,x,y,z)
end
From the algorithm, it is obvious that there will be a minimum of 5 assignment statements needed.