TCS
Company
Programming
Arrays
Two years ago A was 6 times older than B. Now he is 2 times older than B. What is the age of A.
Read Solution (Total 3)
-
- let A and B be their respective ages.
so, A-2 =6(B-2).
and A=2B
solve and get A and B - 13 years agoHelpfull: Yes(10) No(4)
- question is wrong
becoz age coming in -ve - 13 years agoHelpfull: Yes(2) No(5)
- (A-2)/((A/2)-2)=6
A-2=3A-12
2A=10
A=5
- 10 years agoHelpfull: Yes(1) No(0)
TCS Other Question
Keywords: T.Nagar, Chennai, 1-100, prime numbers b/n 140-180, How many 2’s are there?
Achilles was the son of the nymph Thetis and Peleus, the king of the Myrmidons. Zeus and Poseidon had been rivals for the hand of Thetis until Prometheus, the fire-bringer, warned Zeus of a prophecy that Thetis would bear a son greater than his father. For this reason, the two gods withdrew their pursuit, and had her wed Peleus. The following statement is another interesting prophecy about the ages of two childen of Zeus that would hold true at some time during the lifetime of the children. 4 years ago, Athena's age was twice Helen's age. 4 years hence, Athena's age will be 4/3 times the age of Helen. Find Athena's present age in binary numbers during the time that the statement holds true.