Skip to content

CodingBat-Logic1-lessBy10 #259

@divinedragon

Description

@divinedragon

Write code and JUnit test cases for CodingBat-Logic1-lessBy10

Url - http://codingbat.com/prob/p179196

Problem Statement:

Given three ints, a b c, return true if one of them is 10 or more less than one of the others.

lessBy10(1, 7, 11) → true
lessBy10(1, 7, 10) → false
lessBy10(11, 1, 7) → true

Expected method declaration

public boolean lessBy10(int a, int b, int c) {
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions