| about | help | code help+videos | done | prefs |
scottm@cs.utexas.edu cs305j-set4 > in1To10
prev | next | chance
| Given a number n, return true if n is in the range 1..10, inclusive. Unless "outsideMode" is true, in which case return true if the number is less or equal to 1, or greater or equal to 10.
in1To10(5, false) → true in1To10(11, false) → false in1To10(11, true) → true ...Save, Compile, Run prev | next | chance | CodingBat > scottm@cs.utexas.edu cs305j-set4 |
Progress graphs, just for fun:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
121.0
Copyright Nick Parlante 2006-11 - privacy