Question
In an orchard, the ratio of the number of mango and
lichi trees is 4:5, respectively. Also, there are few apple trees in the orchard which is 50% more than the number of mango trees. Total number of trees in the orchard is 90. What is the number of lichi trees in the orchard?Solution
Let the number of mango trees and the lichi trees in the orchard be 4x and 5x respectively. According to the question, Number of apple trees in the orchard = 4x + 0.5 × 4x = 6x Therefore, 4x + 5x + 6x = 90 Or, 15x = 90 Or, x = 6 Number of lichi trees in the orchard = 5x = 30
Which of the following algorithms is commonly used in Machine Learning for clustering tasks?   Â
In C, which function is used to dynamically allocate memory?
Which Python keyword is used to define a function?
In Java, which data type is used to store true or false values?
In Java, which method is used to start a thread?
Which of the following is true about C++ destructors?
In Python, what does len() function do?
Which of the following is correct for a single-line comment in C++?
Which of the following services is NOT commonly provided by AI/ML platforms?
In C, what will be the output of the following code?
int a = 5;
printf("%d", a++);