Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!

# Try this

Aryan Khan
Ranch Hand
Posts: 290
---------------------
There's a bus with 7 girls

Each girl carries 7 bags

Each bag carries 7 big cats

Each big cat carries 7 smaller cats

(All the cats have 4 legs)

Question: how many legs are on the bus?
--------------------
Thanks
Aryan

dhwani mathur
Ranch Hand
Posts: 621
Hi thr

let me know if m right..............

Peter van de Riet
Ranch Hand
Posts: 112
Originally posted by dhwani mathur:
Hi thr

let me know if m right..............

Steve Fahlbusch
Bartender
Posts: 605
7
Funny i get 10992

Aryan Khan
Ranch Hand
Posts: 290
One of the above is right...-- ...
Others keep trying

Frank Silbermann
Ranch Hand
Posts: 1408
Originally posted by Peter van de Riet:

That's what I get.

(7 girls * 2 legs/girl)

plus

(7 girls * 7 bags/girl * 7 bigCats/bag * 4 legs/bigCat)

plus

(7 girls * 7 bags/girl * 7 bigCats/bag * 7 smallCats/bigCat * 4 legs/smallCat)
[ December 31, 2007: Message edited by: Frank Silbermann ]

Steve Fahlbusch
Bartender
Posts: 605
7
and the bus driver?

fred rosenberger
lowercase baba
Bartender
Posts: 12234
36
Originally posted by Steve Fahlbusch:
and the bus driver?

the original problem never states that there is a bus driver. Perhaps one of the seven girls IS the bus driver. Or perhaps there is a security guard, a ASPCA representative, or 100 cockroaches on the bus as well. If you want to start making assumptions, go ahead, but i'd stick with what the original problem states as facts, and stop there.

Jim Yingst
Wanderer
Sheriff
Posts: 18671
Well, the original problem also doesn't mention that the girls have two legs apiece. That seems obvious, but the problem did state that each cat has four legs, which seems equally obvious. The omission seems odd. For all we know, some of the girls could be amputees.

[Fred]: Perhaps one of the seven girls IS the bus driver.

Each girl already has 392 cats to deal with, and now one is expected to drive as well?
[ December 31, 2007: Message edited by: Jim Yingst ]

Bear Bibeault
Author and ninkuma
Marshal
Posts: 65278
95
What about the seats on the bus? Do they not have legs too! This unreasonable prejudice against seats has got to stop!

Mark Spritzler
ranger
Sheriff
Posts: 17278
6
A bus doesn't have any legs.

But if you wanted to know how many total legs on all the cats that happen to also be in the bus then that is

7*7*7*4 for the big cats
7*7*7*7*4 for the smaller cats
=

10976

Mark

Aryan Khan
Ranch Hand
Posts: 290
Hi,

Mark why you left out the 14 gals

My answer 14 legs....who cares for the cats, driver or bus.

Aryan