Question
What is the scope of a variable declared inside a block
of code (e.g., within curly braces)?Solution
It can only be accessed within the same block of code.
The price of some wooden furniture increases by 65% when it passes through three hands. If the first and second sellers made a profit of 20% and 25%, r...
- Ravi sold two items for Rs. 8,400 each. He gained 20% on one item and incurred a loss of 20% on the other. What is the difference in their cost prices?
- Rahul sold an article to Aakash with a 25% profit. Aakash then sold it to Amit, earning the same absolute profit (in Rs.) that Rahul made. Finally, Amit so...
A shopkeeper sold an article for Rs. 240 after offering a discount of 50%. If he earned a profit of 60%, then find the ratio of cost price to the marked...
In a fruit shop, there are 750 fruits in total. Unfortunately, 20% of them are rotten and unsellable. From the good fruits left, half are sold at the co...
A dishonest shopkeeper promises to sell his goods at 44% loss, but he uses 910g weight instead of 1 kg. Find his actual loss percent?Â
Roshan purchased 100 rolls of paper for Rs. 27 per roll. He spent Rs. 600 on their transportation. He also paid 50 paise per roll for packing of each ro...
The cost price of 25 items is the same as the selling price of 20 items. Find the gain per cent.
- A trader sold 4 identical notebooks for Rs. 104 and earned a profit of 30%. What is the cost price of 6 such notebooks?
The initial item has a markup and discount percentage both set at 15%, with a selling price of Rs. 1955. If a discount of 10% is applied to the same ite...