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
Project Description: Step 1: Buy 1 share at existing market price (ex: buy 1 at 100.00) If 4 points profit then close position if not go to step 2 Step 2: if 2 point

write a program in C# to perform arithmetic operation

What is object-oriented programming (OOP)? OOP is a method to develop logical modules, such as classes that contain properties, methods, fields, and events. An object is formed

Develop a Rummikub Game Project Description: I require a game(Rummikub) multiplayer with source codes. I have done to much but i need to help me in Algorithm who can check


What is an application domain? Previously "PROCESS" were used as the security boundaries. One of the process has its own virtual memory and does not overlap the  another proces

What is the difference between VB6 and VB.Net? VB6 1.       It is Object-based Language 2.       It Does not support Threading 3.       Not powerful Exception handli

Problem: (a) Explain the difference between these two lines of ASP codes: (b) The VBScript language includes some built-in functions which are often used in ASP co

What is .NET Remoting? The .NET remoting is replacement of DCOM. Using .NET remoting you can make remote object calls that lie on different Application Domains. since the remot

Explain simple Walk through of XmlReader. In this part we will do a simple walkthrough of how to use the "XmlReader" class. The Sample for the same is available in both languag