Question
The ratio of income and expenditure of a person is 8 :
5, respectively. If the income and expenditure of the person are increased by 25% and 20% respectively, then find the percentage increase in savings.Solution
Let the income of the person be Rs. ‘8x’ So, expenditure = Rs. ‘5x’ So, savings = 8x – 5x = Rs. ‘3x’ New income = 8x × 1.25 = Rs. ‘10x’ New expenditure = 5x × 1.2 = Rs. ‘6x’ New savings = 10x – 6x = Rs. ‘4x’ So, required percentage increase
= {(4x – 3x) / 3x} × 100
= 33.33%
Which tree traversal is most suitable for finding the shortest path in an unweighted graph represented as a tree?
Which software development methodology emphasizes iterative development and customer feedback? Â Â Â Â Â Â Â
...Which of the following is correct for a single-line comment in C++?
In Python, which method is used to convert a string to lowercase?
In C, what is the output of printf("%d", 5/2);?
In Python, what does len() function do?
Which Python keyword is used to handle exceptions?
Which of the following algorithms is used for finding Minimum Spanning Tree?
Which of the following is true about C++ destructors?
 What is the output of the following code: x = 5; y = 2; print(x ** y)?