kevmoens / Ellabit

The interactive C# coding app to learn/practice coding.
MIT License
55 stars 21 forks source link

Create new challenge that would make sense to use a switch statement #22

Closed kevmoens closed 1 year ago

kevmoens commented 1 year ago

At our manufacturing facility we need to calculate lead time based off what type of part we need to create our finished good. A part can be Purchased, Transferred (from another facility of our company) or be manufactured in house at the plant the user is in.

As a challenge pass in a test for each of these types of parts.

A manufactured part has a lead time of 1 day. A transferred part has a lead time of 2 days. A purchased part has a lead time of 7 days.