Kotlinlearncs.online LogoJava
Return to List

Solve: Overloaded Area

Created By: Geoffrey Challen
/ Version: 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).

Related Lessons

Stuck? You may find these lessons helpful: