about | help | code help+videos | done | prefs |
Write a method that returns a string that describes the equivalence between the 'base10num' given in base 10 and that same number written in base 'newBase'. Look at the test data for examples. Preconditions: base10num>=0; 2<=newBase<=9 quiz2023_09_12_HL_convert(0, 2) → "0 in base 10 is equal to 0 in base 2." quiz2023_09_12_HL_convert(0, 7) → "0 in base 10 is equal to 0 in base 7." quiz2023_09_12_HL_convert(0, 9) → "0 in base 10 is equal to 0 in base 9." ...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: 240
Copyright Nick Parlante 2017 - privacy