about | help | code help+videos | done | prefs |
If the parameter is odd, return 3 times the number plus 1. Otherwise, return the parameter unchanged. odd(10) → 10 odd(1) → 4 odd(9) → 28 ...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: 100
Copyright Nick Parlante 2017 - privacy