Overloaded Area
Geoffrey Challen // 2020.9.0
Write two versions of a function called area
.
The first should take two Int
arguments and return their product (as an Int
).
The second should take two Double
arguments and return their product (as a Double
).