Question
Present age of ‘A’ is 25% more than that of ‘B’.
If 9 years hence from now, ‘B’ will be 6 years younger than ‘A’, then find the sum of present ages of ‘A’ and ‘B’.Solution
Let present age of ‘B’ be ‘x’ years Present age of ‘A’ = x × 1.25 = ‘1.25x’ years ATQ; (x + 9) + 6 = (1.25x + 9) Or, x + 15 = 1.25x + 9 Or, 6 = 0.25x Or, x = 24 So, present age of ‘B’ = 24 years And, present age of ‘A’ = 24 + 6 = 30 years Required sum = 30 + 24 = 54 years
Appending value to list in python
Identify the OSI layer responsible for end to end transmission
- What is the purpose of Inheritance in Object-Oriented Programming? ...
What is the primary advantage of using Normalization in a database design?
Given the IP address block 192.168.0.0/24, how many subnets can be created by borrowing 2 bits from the host portion, and what will be the new subnet ma...
Which of the following is not a valid difference between IPv4 and IPv6?
Command to change the priority in LINUX
Which of the following conditions is NOT required for a deadlock to occur?
Which of the following page replacement algorithms results in the lowest page-fault rate for a given reference string but is often impractical to implem...
Given the following code snippet, what will be the output when the function findMax is called with the array arr = [1, 5, 3, 9, 2]?
def findMax...