Question
A salesman is allowed 24% commission on the total sales
by him and a bonus of 1% on the sales over Rs. 25000. If the total earnings of a salesman is Rs. 11475, find the total sales.Solution
Let the total sales be x According to the question x × 24/100 + (x - 25000) × 1/100 = 11,475 24x/100 + (x-25000)/100 = 11475 24x + x – 25000 = 11, 47,500 25x = 11, 72,500 x = 46,900
Which tree traversal is most suitable for finding the shortest path in an unweighted graph represented as a tree?
Which C operator is used to access a value at a memory address stored in a pointer?
Which Python keyword is used to define a function?
Which of the following statements is correct for Python lists?
Which of the following is used to handle exceptions in Java?
- Which network device operates at the Data Link Layer of the OSI model and helps to filter and forward data between LAN segments?
In Python, what does len() function do?
Which algorithm is used to find the shortest path from a single source in graphs with negative weights?
In Java, which method is used to start a thread?
Which of the following is a valid C++ constructor?