Kotlinlearncs.online LogoJava
Return to List

Homework: Larger Non-Negative

Created By: Ellen Spertus
/ Version: 2023.12.0

Write a method largerNonNegative that returns the larger of 2 int arguments, or 0 if both of the arguments are negative.

Related Lessons

Stuck? You may find these lessons helpful: