Finding the eoq and tbo - c# program, DOT NET Programming

Finding the EOQ and TBO - C# Program:

Need summer assignment help on c#.

Posted Date: 2/11/2013 7:24:17 AM | Location : United States

Try this:


using System;  

class InventoryManagement


  public static void Main()


   float dr,sc,cpu;

   //dr = Demand rate, sc = setup costs, cpu = cost per unit    

   double EOQ,TBO;

   // EOQ = Economic Order Quaitity

   // TBQ = Optimal Time Between orders    

  Console.WriteLine("\t\t***** Inventory Management System *****");  

  Console.WriteLine(""); // Blank Line  

  Console.Write("Enter the Demand Rate : ");

  dr = float.Parse(Console.ReadLine());    

  Console.Write("Enter the Setup Costs : ");

  sc = float.Parse(Console.ReadLine());  

  Console.Write("Enter the Cost Per Unit : ");

  cpu = float.Parse(Console.ReadLine());  

  Console.WriteLine(""); // Blank Line  

  EOQ = Math.Sqrt(2*dr*sc/cpu); // Calculating EOQ  

  TBO = Math.Sqrt(2*sc/(dr*cpu)); // Calculating TBO  

  Console.WriteLine("Economic Order Quaitity = " +EOQ);

  Console.WriteLine("Optimal Time Between orders = " +TBO);




Posted by samuel | Posted Date: 2/11/2013 7:25:12 AM

Your program rum very well. Thank you so much.

Posted by John | Posted Date: 2/11/2013 7:26:00 AM

Related Discussions:- Finding the eoq and tbo - c# program, Assignment Help, Ask Question on Finding the eoq and tbo - c# program, Get Answer, Expert's Help, Finding the eoq and tbo - c# program Discussions

Write discussion on Finding the eoq and tbo - c# program
Your posts are moderated
Related Questions
Project Description: Looking for a developer who will develop a web portal like zulutrade, some features will be taken from signaltrader the changes ould be like: 1) only cer

Design an interface and add code to command buttons using case statement, to find coursework to be calculated using formula 0.6*1/6*total Mark

What is an Object in Dot Net? This is the basic unit of a system. An object is an entity that has identity, attributes, and behavior. The Objects are members of a class. The cl

What is the difference between dynamic and var data types? The difference among the var and dynamic data types is that the var data type is strongly type checked at the compile

inheritance real time examples

VB. Net & XML 1. Design a form based applications using labels, text boxes, and buttons to perform basic arithmetic operations on integers. 2. Explain the concept of Excepti

Need a K2 Blackpearl workflows help Need a K2 Blackpearl workflows experienced developer to integrate in SharePoint 2010 and 2013. The workflow integrates with Navision 5 provid

What is a host process? A host process is an implementable program that hosts a workflow. It might be a Windows Forms application, a Web application, or a Web service applicati

I need a Windows SharePoint Services or Similar Solution My company desires a reliable way of managing the documents online for each of its clients. The solution would want t