Question
A man invested ₹12,000 in a business, and his partner
invested ₹15,000. After 8 months, the first partner withdrew half of his investment. If the total profit at the end of the year was ₹7,200, find the share of the first partner.Solution
For the first 8 months, the first partner’s investment = ₹12,000. After 8 months, the investment is halved, so for the remaining 4 months, it becomes ₹6,000. The second partner’s investment for 12 months is ₹15,000. The profit ratio is (12,000 × 8 + 6,000 × 4):(15,000 × 12) = 2:3. Share of the first partner = 2/(3+2) × ₹7,200 = ₹2,880. Answer: c) ₹2,880
Which command is used to display all currently running processes in Linux?
Which symbol is used to make a script executable in Linux?
How can you pass command-line arguments to a shell script?
How can you make a shell script executable?
Which command displays the manual page for another command?
Which command is used to display the number of lines in a file?
Named pipes (FIFOs) are created using:
In shell scripting, which symbol is used to redirect the standard output to a file, overwriting its contents?
Which operator is used to append output to a file?
Which command is used to make a shell script executable?