Question
By selling 10 candles a person gets a profit of the
selling price of 3 pens whereas by selling 10 pens he incurs a loss of the selling price of 4 candles. The loss percentage and profit percentage are equal, and the cost price of the candle is half of the cost price of the pen. Find the ratio of sales of candles and pens.Solution
CP=10x Profit =3b Percentage profit = (3b/10x) ×100            … (1) Now for pen Cp =20x Loss=4a Loss percentage=(4a/20x) ×100                … (2) ATQ- The loss percentage and profit percentage are equal. (3b/10x) ×100 =(4a/20x) ×100 3b=2a a: b=3:2.
- What is a public cloud?
How can the Banker's algorithm be used to prevent deadlocks?
In Go, what is the purpose of a goroutine?
What is the primary purpose of instruction pipelining in a CPU?
The java.sql and javax.sql are the primary packages for JDBC 4.0.
To change mode of myfile to 'rwxr–r–' , the command used is
MPLS uses which concept for fast packet forwarding?
B-trees and B+ trees are commonly used for indexing in databases to improve the efficiency of:
To change mode of myfile to 'rwxr–r–' , the command used is
What is the scope of a variable in programming?