# Try this

posted 8 years ago

Post your answers here......

---------------------

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

---------------------

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

OCP/MCP/SCJP/SCWCD/IBM XML/SCMAD/SCEA-1

dhwani mathur

Ranch Hand

Posts: 621

Frank Silbermann

Ranch Hand

Posts: 1408

posted 8 years ago

(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 ]

That's what I get.Originally posted by Peter van de Riet:

I think you made a typo, my answer is 10990.

(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 ]

posted 8 years ago

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.

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.

There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors

Jim Yingst

Wanderer

Sheriff

Sheriff

Posts: 18671

posted 8 years ago

Well, the original problem also doesn't mention that the girls have two legs apiece. That seems obvious, but the problem

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 ]

*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 ]

"I'm not back." - Bill Harding, *Twister*