Question
A merchant bought 150 items at Rs. 48 each. He sold some
of them at a profit of 25% and the remaining at a loss of 15%. If the overall gain made by him is 5%, find the number of items sold at 25% profit.Solution
ATQ,
Cost price of 150 items = 150 × 48 = Rs. 7200
Selling price of 150 items = 1.05 × 7200 = Rs. 7560
Let number of items sold at a profit of 25% be ‘x’
Therefore, number of items sold at a loss of 15% = (150 – x)
So, 1.25 × 48 × x + 0.85 × 48 × (150 – x) = 7560
Or, 1.25x + 127.5 – 0.85x = 7560/48 = 157.5
Or, 0.4x = 30
Or, x = 75
In Python, which method is used to convert a string to lowercase?
In Java, which method is called when an object is garbage collected?
In C, what will be the output of the following code?
int a = 5;
printf("%d", a++);
Which of the following is correct for a single-line comment in C++?
Which of the following systems is typically designed to support managerial decision-making? Â Â Â Â Â Â
Which of the following algorithms is commonly used in Machine Learning for clustering tasks?   Â
Which of the following is used to handle exceptions in Java?
Which of the following is true about Java interfaces?
Which of the following algorithms is used for finding Minimum Spanning Tree?
Which of the following is used to declare a list in Python?