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

 

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

Write a method that produces the correct results. You should be able to figure this out just from examining the test data and thinking about it! I solved it in one line.


June2_2016_SL_guessingGame(54, 2) → 0
June2_2016_SL_guessingGame(73, 10) → 3
June2_2016_SL_guessingGame(81, 9) → 0

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

public int June2_2016_SL_guessingGame(int num1, int num2) { }

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

Copyright Nick Parlante 2017 - privacy