Logo 
Search:

C Programming Articles

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

Find Optimal Time Between Order for a single item is given by TBO = squareroot(2*setup costs/demandrate holding costing peritem unit time)

Posted By: Yasmin Silva     Category: C Programming     Views: 3392

In inventory management the Optimal Time Between Order for a single item is given by TBO = squareroot(2*setup costs/demandrate holding costing peritem unit time).

Code for Find Optimal Time Between Order for a single item is given by TBO = squareroot(2*setup costs/demandrate holding costing peritem unit time) in C Programming

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

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

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

    getch();

}
  
Share: 



Yasmin    Silva
Yasmin Silva author of Find Optimal Time Between Order for a single item is given by TBO = squareroot(2*setup costs/demandrate holding costing peritem unit time) is from Salvador, Brazil.
 
View All Articles

 
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!