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

 

norm.krumpe@muohio.edu > biggerThan10
prev  |  next  |  chance

Return true if the number is bigger than 10, and false otherwise. However, if the boolean equalOK is true, then also return true if the number is equal to 10.


biggerThan10(5, false) → false
biggerThan10(11, false) → true
biggerThan10(13, true) → true

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

boolean biggerThan10(int num, boolean equalOK) { }

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

Copyright Nick Parlante 2017 - privacy