id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

jebbert@volusia.k12.fl.us > nov9_2016_APSLHL_atLeastTwoTheSame
prev  |  next  |  chance

Write a method that returns 'true' if at least two input parameters are the same, and returns false otherwise. Look at the test data for examples.


nov9_2016_APSLHL_atLeastTwoTheSame(17, -17, 20) → false
nov9_2016_APSLHL_atLeastTwoTheSame(5, 7, 2) → false
nov9_2016_APSLHL_atLeastTwoTheSame(18, 18, 18) → true

...Save, Compile, Run (ctrl-enter)

public boolean nov9_2016_APSLHL_atLeastTwoTheSame(int num1, int num2, int num3) { }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Difficulty: 240

Copyright Nick Parlante 2017 - privacy