about | help | code help+videos | done | prefs |
Write a method that returns a string explaining the relative values of all the number in the 'nums' array. Look at the test data for examples. Pay special attention to the boundary cases and the exact formatting. Preconditions: You may assume that 'nums' will contain at least two numbers. quiz2023_12_13_P1SLHL_compareThem([11, 11]) → "11 is equal to 11." quiz2023_12_13_P1SLHL_compareThem([8, 120]) → "8 is less than 120." quiz2023_12_13_P1SLHL_compareThem([500, -900]) → "500 is greater than -900." ...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: 250
Copyright Nick Parlante 2017 - privacy