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

 

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

Write a method that returns true if the last two digits of the two input parameters are the same. The two input parameters will both be positive integers. Please take a close look at the test data.


hobbit3(4279, 4289) → false
hobbit3(5122442, 742) → true
hobbit3(4214, 849) → false

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

public boolean hobbit3(int a, int b) { }

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: 220

Copyright Nick Parlante 2017 - privacy