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