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

 

Warmup-1 > in3050
prev  |  next  |  chance

Given 2 int values, return true if they are both in the range 30..40 inclusive, or they are both in the range 40..50 inclusive.


in3050(30, 31) → true
in3050(30, 41) → false
in3050(40, 50) → true

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

public boolean in3050(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: 175.0

Copyright Nick Parlante 2017 - privacy