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:

Program

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);

  Console.ReadLine();

 }

}

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
Web Developer Project Description: We are in need of an expert web developer for long term connection; please apply with samples if you have the subsequent skills: ASP.NET

We previously use Site content filtering inside Netkiosk But at present this blocks sites. or keywords We now also require a Whitelist that allows. 1) An entire domain www

show the dot net topic

Difference between Panel and Group Box classes? Panel & Group box both can used as container for other controls like radio buttons & check box. the difference in panel & group

ILDASM When it comes to the understanding of the internals nothing can beat ILDASM. ILDASM  converts all the exe or dll into IL code. To run ILDASM you have to go to "C:\Progra

What is DTD? The Document Type definition (DTD) defines how your XML should structure. For illustrate in the above XML we want to make it compulsory to provide "qty" and "total

What are standard query operators in LINQ? The standard query operators in LINQ are the extension process that forms the LINQ pattern. These operators form an API that enables

I have a website with a photo gallery using PhotoHandler -photohandler.codeplex.com I require the code added/ modified to display the image file names under the preview or thumbnai

Develop .Net project Project Description: We want to make .net you have to be good knowledge on the subsequent Microsoft Active Directory, Lync 2010 - 2013 databases

Produce a server setup where I have access to ip address Project Description: I would require using ftp or remote desktop to put software on your server (must be a united sta