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

Assignment Help:

Finding the EOQ and TBO - C# Program:

Need summer assignment help on c#.


Related Discussions:- Finding the eoq and tbo - c# program

How would you implement inheritance using vb.net, How would you implement i...

How would you implement inheritance using VB.NET? When we set out to execute a class using inheritance, we must first begin with an existing class from which we will derive our

Find out circumference and area of a circle – c# program, Find out circumfe...

Find out circumference and area of a circle - C# Program Need Help in Assignment.

What benefits have web services over component object model, What advantage...

What advantages have Web services over Component Object Model (COM) and Distributed Component Object Model (DCOM)? The benefits of Web services over COM and DCOM are as follow

My homework, how do you do dot net programming

how do you do dot net programming

We''re seeking an it candidate, Project Description: We're seeking an IT...

Project Description: We're seeking an IT candidate with experience to help us optimizely,  Skills required: .NET, C# Programming, ASP, eCommerce, SQL

Explain fully how ado.net functions, Question : (a) Explain fully how ...

Question : (a) Explain fully how ADO.NET functions. Illustrate your answer using a diagram. (b) List and explain three methods of the SqlCommand class. (c) Give four o

Candidate key, What is a candidate key? A table may have more than one ...

What is a candidate key? A table may have more than one combination of columns that could uniquely identify the rows in a table; every combination is a candidate key. During th

Accepting a list of 5 items - c# program, Accepting a List of 5 Items - C# ...

Accepting a List of 5 Items - C# Program Hello, I've been trying so many codes for this but those codes didn't work well. Please write the code for Accepting a List of 5 Items

What is strong-typing versus weak-typing, What is strong-typing versus weak...

What is strong-typing versus weak-typing? Which is preferred? Why? Strong type is checking the types of variables as soon as possible, usually at compile time. While weak typing

Implementing page fragment caching, How will you implement Page Fragment Ca...

How will you implement Page Fragment Caching? The Page fragment caching includes the caching of a fragment of the page, rather than the whole page. When the parts of the page a

samuel

2/11/2013 7:25:12 AM

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

 }

}

John

2/11/2013 7:26:00 AM

Your program rum very well. Thank you so much.

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd