Exercise: Value objects for length measurements
We want to work with length measurements in both centimeters and meters. If you are not familiar with the metric system: 1 meter has 100 centimeters. Represent centimeters as an integer and meters as a floating point number. Of course, the Value Object design pattern should be used.
Implement the following requirements step by step and only program exactly the code required for each requirement. It is best to work test-driven, but you should definitely write automated tests.