Question
What is the scope of a variable in
programming?Solution
The set of statements where the variable can be accessed and manipulated
A man purchased a book for an amount equal to the simple interest earned on Rs. 6000 lent to a friend for 2 years at an interest rate of 4% per annum. I...
A man buys cashew nuts at Rs.600 per kg and sells them at Rs.15 per 50 grams. What is his profit/loss percentage?
After selling 20 pens, a Shopkeeper earn a profit of the selling price of 6 books. While selling 20 books, a shopkeeper losses a selling price of 8 pens...
Rohit sold an item with an 18% profit. However, if he had sold the item at a 13% loss, he would have made Rs. 930 less. If he originally marked the item...
A shopkeeper sold an article at a discount of 11%. If he had given a discount of 6% in place of 11%, then he would have earned Rs. 112 more. If the cost...
Sakshi purchased 36 chocolates for a total of Rs. 45. She then sold 24 of these chocolates for Rs. 39. If Sakshi's profit percentage from this transacti...
The cost price of 26 mangoes is Rs.210. Because of bad quality of mangoes, the shopkeeper has to sell mangoes at a loss that is equal to selling price o...
- The cost price of a gadget is Rs. 3,250. It is tagged 25% above its cost and sold after a flat discount of Rs. 275. What is the approximate profit percenta...
A shopkeeper marked an article Rs. 200 above the cost price and sold it after giving two successive discounts of 12% and 18% respectively, and faces a l...
Neha sold a product to Sanjana at a 20% profit. Sanjana then sold it to Meera, earning the same absolute profit (in Rs.) that Neha made. Finally, Meera ...