about | help | code help+videos | done | prefs |
Write a method that converts a non-negative decimal number into its binary representation. Return a string that states the equivalence as shown in the test data. quiz2024_08_23_SLHL_binary(0) → "0 base 10 = 0 base 2" quiz2024_08_23_SLHL_binary(1244) → "1244 base 10 = 10011011100 base 2" quiz2024_08_23_SLHL_binary(53) → "53 base 10 = 110101 base 2" ...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: 230
Copyright Nick Parlante 2017 - privacy