Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markup Calculator #577

Open
2 of 12 tasks
SarthakKeshari opened this issue Oct 29, 2023 · 3 comments
Open
2 of 12 tasks

Markup Calculator #577

SarthakKeshari opened this issue Oct 29, 2023 · 3 comments
Labels
question Adding a calculator

Comments

@SarthakKeshari
Copy link
Owner

Enter calculator name -

Markup Calculator

Describe calculator functionality -

Markup Formulas and Calculations:
The gross profit P is the difference between the cost to make a product C and the selling price or revenue R.
P = R - C
To calculate revenue R based on the cost C and the desired gross margin G, where G is in decimal form:
R = C / ( 1 - G)
The gross profit dollars P is the revenue dollars R from the sale times the gross margin G percentage, where G is in decimal form :
P = R * G
The markup percentage M, in decimal form, is gross profit P divided by cost C.
M = P/ C
M * 100 will change the decimal to a percentage.

Under which category you wish to place it -

  • Computer Science
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Art
  • Finance
  • Scientific
  • Health
  • Games/Sports
  • Let project owner decide
  • Suggest a new category - (Answer here)
@Rishika631
Copy link
Contributor

@SarthakKeshari please assign this issue to me. Also I have a doubt to calculate all these we can take the inputs of variables in the formula like for P = R - C we have to ask user input of R and C to calculate P right?

@SarthakKeshari
Copy link
Owner Author

Hey @Rishika631,
Assigned.

You may contribute your code under the folder path -

calc_for_everything\calculators\src\mathematical\markupCalc

Issue completion deadline - 21th Dec 08:00:00 am IST

NOTE - In case the issue completion deadline is not met, the issue will be assigned to a new contributor

@SarthakKeshari
Copy link
Owner Author

@Rishika631,
Since the issue completion deadline is crossed,
Issue has been unassigned.

Kindly do not create a PR for the issue now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Adding a calculator
Projects
None yet
Development

No branches or pull requests

2 participants