| about | help | code help+videos | done | prefs | 
Define a function that when passed two integers (say a, b), returns the first number (a) divided (integer division) by 2, (b) number of times. You cannot use conditions or loops. divideByTwo(1024, 10) → 1 divideByTwo(100, 2) → 25 divideByTwo(1073741824, 26) → 16 ...Save, Compile, Run (ctrl-enter)  | 
Progress graphs: 
 Your progress graph for this problem
 Random user progress graph for this problem 
 Random Epic Progress Graph
Difficulty: 1 Post-solution available
Copyright Nick Parlante 2017 - privacy