Simplify the following:
(A - X) * (B - X) * (C - X) ... (Z - X)
Explain your reasoning.
Simplify the following:
(A - X) * (B - X) * (C - X) ... (Z - X)
Explain your reasoning.
if case matters, as in C++, the result is 0 because somewhere along the line you get (X - X) as a factor ?
a famous quiz (don't search the answer on the internet !)
Three friends go out to eat. The bill is $25. They each pay $10, totaling $30. The waiter returns $5. They each take $1 and give $2 as a tip. So they paid $9 each ($10 minus the $1 they kept), which is $27, and added the $2 tip, making $29. Where did the missing dollar go?
This is wrong. The $27 includes the tip. The remaining $3 is the $1 each taken as change.
Exactly !
Where the math turned around and went from zero-based to one-based (or is it the other way around?).
30 minus 5.. 30, 29, 28, 27, 26 plus 3.. 26, 27, 28 leaves 29 & 30.
I remember being stumped by that in 6th grade. It was a great way to start an arithmetic lesson!