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
What is cloud computing? The cloud computing is the computing which is completely based on the Internet. It can also be explained as the next stage in the evolution of the Inte

I have a responsive database structure and web template. I need someone to prepare the code (.net, jquery ) to make interaction with database . Insert, edit , save . Plus a custom

how to access global resource file using javascript

What is DMAIC and DMADV? The Six Sigma has two key methodologies viz. DMAIC and DMADV. The DMAIC is used to improve an existing business process. While DMADV is used to create

What are advantages of using UML? As the name suggests the UNIFIED MODELING LANGUAGE, The Modeling has been around for years, not only in the software field but also in other t

What is the use of the Connection object? The Connection object is used to connect your application to a specific data source by giving the needed authentication information in

Project Description: I am preparing a speech recognition program and need a quick code to get it done I am seeking for someone to create a Gmail API that can get subject, and co

How do we access view state value of the page in the next page? The View state is page specific; it contains information about controls embedded at the particular page. ASP.NET

Data hiding and encryption would be done on images. Both these process should have a data hiding key and an encryption key correspondingly. Another user should be able to decrypt t

Job Portal A one-stop explanation to all your needs. Consist of employee as well as employer login accounts. Employee capable to look for jobs. Employer capable to post jobs.