#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();
}