Solve: Overloaded Add
Created By: Geoffrey Challen
/ Version: 2021.2.0
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
).
For this problem we're expecting only a method.
Don't define a class, include modifiers like static or public, add import statements, or add code outside the method declaration.