| about | help | code help+videos | done | prefs |
Given two parallel arrays, one of student names, and an equal length array of integer scores, return a parallel array of modified scores such that the same number of points is added to each original score so that the highest score is 100. adjustedScores(["Fritz", "Clyde", "Monty", "Penelope", "Liza"], [94, 95, 100, 100, 95]) → [94, 95, 100, 100, 95] adjustedScores(["Adam", "Belinda", "Carly", "Jimmy", "Ann"], [94, 95, 99, 88, 92]) → [95, 96, 100, 89, 93] adjustedScores(["Ken", "Gena", "Jason", "Aaron", "Shawn", "David"], [97, 70, 95, 92, 75, 75]) → [100, 73, 98, 95, 78, 78] ...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: 200
Copyright Nick Parlante 2017 - privacy