- Exercises

In this exercise, you will extend the MyDistance class from the example in the previous lesson.

We'll cover the following...

Task 1

Extend MyDistance from the previous example to support the following units:

  1. Feet (ft)

    • 1ft=0.3048m1 ft = 0.3048m
...