two MIT math grads bump into each other at Fairway on the
upper west side. they haven't seen each other in over 20 years.
the first grad says to the second: "how have you been?"
second: "great! i got married and i have three daughters now"
first: "really? how old are they?"
second: "well, the product of their ages is 72, and the sum
of their ages is the same as the number on that building
over there.."
first: "right, ok.. oh wait.. hmm, i still don't know"
second: "oh sorry, the oldest one just started to play the
piano"
first: "wonderful! my oldest is the same age!"
problem: how old are the daughters?
Answers were Sorted based on User's Feedback
Answer / sushil
solution: start with what you know. you know there are 3
daughters whose ages multiply to 72. let's look at the
possibilities...
Ages: Sum of ages:
1 1 72 74
1 2 36 39
1 3 24 28
1 4 18 23
1 6 12 19
1 8 9 18
2 2 18 22
2 3 12 17
2 4 9 15
2 6 6 14
3 3 8 14
3 4 6 13
| Is This Answer Correct ? | 6 Yes | 6 No |
Info for guidewire documents and interview questions
What is good attributes of Programming language ?
what is difference between IF-ELSE-ENDIF and IIF.
what will we require to build project with the help of oracle
whats the Need for Concurrency control
What r the attributes using in Win Runner?
0 Answers Tavant Technologies,
why Java is not purely object oriented?
what is the difference between a namespace and assembly ?
could u please also write an example of a code that involves instances from an abstract class just as u did for interfaces because u said it could also work which i really doubt. thanks
What is the difference between in-proc and out-of-proc?
Display names and numbers of employees who have 5 years or more experience and salary less than Rs.15000 using array of structures (name, number, experience and salary)
Given an array of size n+1 which contains all the numbers from 1 to n.Find the number which is repeated in O(n) time.How do you proceed with the same with floating numbers from 0 to 1 instead of 1 to n?