#include<stdio.h>
#include<conio.h>
#include<math.h>
#include<conio.h>
#include<math.h>
void main()
{
{
long int dr,sc,hc,a,b,eoq,tbo;
clrscr();
printf("enter value of Demand rate");
scanf("%ld",&dr);
clrscr();
printf("enter value of Demand rate");
scanf("%ld",&dr);
printf("enter value of Setup cost");
scanf("%ld",&sc);
printf("enter value of holding cost");
scanf("%ld",&hc);
a=(2*dr*sc)/hc;
b=(2*sc)/(dr*hc);
eoq=sqrt(a);
tbo=sqrt(b);
b=(2*sc)/(dr*hc);
eoq=sqrt(a);
tbo=sqrt(b);
printf("your economic order quantity is=%ld\n",eoq);
printf("your time between order is=%ld",tbo);
printf("your time between order is=%ld",tbo);
getch();
}
No comments:
Post a Comment