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
- Program to find the percentage of difference between two numbers
- Program to find the Discount Percentage
- Find the percentage change in the area of a Rectangle
- Overall percentage change from successive changes
- Program to calculate Profit Or Loss
- Program to calculate the profit sharing ratio
- Minimum cost to convert given string to consist of only vowels
- Cost of painting n * m grid
- Find a time for which angle between hour and minute hands is given theta
- Find if a number is part of AP whose first element and difference are given
- Find if it is possible to get a ratio from given ranges of costs and quantities
- Find if a string starts and ends with another given string
- Find the other end point of a line with given one end and mid
- Find the other number when LCM and HCF given
- Find Pth term of a GP if Mth and Nth terms are given
- Find the concentration of a solution using given Mass and Volume
- Find two numbers with given sum and maximum possible LCM
- Find the area of rhombus from given Angle and Side length
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.