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)

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.