Question
A has 10 chocolates, and B has 8 chocolates. C wants to
buy some chocolates from them, so they decide to share all the chocolates equally among the three. In return, C pays a total of ₹54 to A and B together. How much more money does A receive compared to B?Solution
As A and B had a total of 18 chocolates, so A and B must have given 4 and 2 chocolates respectively to C.
Hence, the ratio of their share must be 2:1. Now Raj paid ₹54 for 6 chocolates. So cost of one chocolate is ₹9.
Hence A and B got ₹36 and ₹18 respectively.
Therefore, A gets ₹18 more than B.
Which of the following describes the difference between Windows and Unix/Linux file systems? Â
In Data Communication, what protocol is used to ensure reliable transmission of data over a network?
In Data Structures, which of the following algorithms uses the Divide and Conquer strategy?
What is the time complexity of inserting an element in a heap?
Which data structure is used in BFS (Breadth-First Search)?
Which of the following is true for the time complexity of binary search?
Depth-First Search (DFS) typically uses which data structure implicitly or explicitly?
In a relational database, what is the purpose of a foreign key?
Which application layer protocol is used to retrieve emails from a remote server?
Which page replacement algorithm replaces the page that will not be used for the longest period of time in the future? Â