Given the Cost price and Profit Percentage of an item, the task is to calculate the Selling Price.
Input: CP = 500, Profit% = 20 Output: SP = 600 Input: CP = 720, Profit% = 13 Output: SP = 813.6
- Find the Decimal Equivalent of the profit Percentage, for this divide the percentage by 100.
- Add 1 to get the decimal Equivalent of unit price increase.
- Take product of Cost price with the above result to get the selling price.
Below is the implementation of the above approach:
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.
- Find cost price from given selling price and profit or loss percentage
- Loss when two items are sold at same price and same percentage profit/loss
- Calculate the loss incurred in selling the given items at discounted price
- Percentage increase in the cylinder if the height is increased by given percentage but radius remains constant
- Percentage increase in volume of the cube if a side of cube is increased by a given percentage
- Percentage increase in volume of the sphere if radius is increased by a given percentage
- Maximum profit by buying and selling a share at most twice
- Maximum profit by buying and selling a share at most k times
- Maximum profit after buying and selling the stocks
- Maximum profit by buying and selling a share at most K times | Greedy Approach
- Program to find the percentage of difference between two numbers
- Program to find the Discount Percentage
- Program to find the rate percentage from compound interest of consecutive years
- Find the percentage change in the area of a Rectangle
- Percentage increase in the volume of cuboid if length, breadth and height are increased by fixed percentages
- Puzzle | Selling Chocolates
- Overall percentage change from successive changes
- Python | Percentage increase in the total surface area of the cuboid
- Python | Percentage increase in hemisphere volume if radius is increased
- Percentage change in Hemisphere volume if radius is changed
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.