Let's practice with function overloading.
Write two versions of a function called multiply
.
The first should take two Double
arguments and return their product (as a Double
).
The second should take three Double
arguments and return their product (as a Double
).