Friday, October 11, 2013

Program to find out Economic Order Quantity (EOQ)

Economic Order Quantity is the size of order that gives maximum economy in purchasing the materials. It is also known as Standard Order Quantity.
To know more about EOQ click here

#include<iostream.h>
#include<conio.h>
#include<math.h>
void main()
{
clrscr();
float eoq,co,ch,d;
cout<<"Enter the ordering cost : ";
cin>>co;
cout<<"Enter the holding cost : ";
cin>>ch;
cout<<"Enter the annual demand : ";
cin>>d;
eoq=sqrt((2*co*d)/ch);
cout<<"Economic Order Quantity = "<<eoq;
getch();
}



No comments:

Post a Comment