Logo 
Search:

C Programming Articles

Submit Article
Home » Articles » C Programming » Mathematics ProgramRSS Feeds

Find Economic Order Quantity for a single item is given by EOB = sqrt(2 * demand rate * setup costs/holding costiong per item unit time)

Posted By: Adalrico Fischer     Category: C Programming     Views: 2544

In inventory management the Economic Order Quantity for a single item is given by EOB = sqrt(2 * demand rate * setup costs/holding costiong per item unit time).

Code for Find Economic Order Quantity for a single item is given by EOB = sqrt(2 * demand rate * setup costs/holding costiong per item unit time) in C Programming

#include <stdio.h>
#include<conio.h>
#include<math.h>

void main()
{
    int demrate,setcosts,holdcost;
    int ans,EOQ;
    clrscr();

    printf("Enter the Demand Rate :- ");
    scanf("%d",&demrate);
    printf("Enter the Setup costs :- ");
    scanf("%d",&setcosts);
    printf("Enter the Holding Cost per item per Unit time :- ");
    scanf("%d",&holdcost);
    ans = (2 * demrate * setcosts) / (holdcost);
    EOQ = sqrt(ans);
    printf("The EOQ :- %d",EOQ);

    getch();

}
  
Share: 



Adalrico Fischer
Adalrico Fischer author of Find Economic Order Quantity for a single item is given by EOB = sqrt(2 * demand rate * setup costs/holding costiong per item unit time) is from Frankfurt, Germany.
 
View All Articles

Related Articles and Code:


 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!