| about | help | code help+videos | done | prefs |
It's Graduation Day! You and your friends are Juniors that want to show support for one of your Senior friends, so you decide to paint one letter of their college of choice on your backs, arranging yourselves so that together, you all form their college name. Write a method that determines if their college of choice will fit on your combined backs, given that you convinced 8 of your friends to do it with you. Do not worry about a college having too few characters; the other backs can be used for exclamation points. collegeLength("Princeton") → "This college's name will fit on your backs." collegeLength("Swarthmore") → "You need 1 more back(s)." collegeLength("Yale") → "This college's name will fit on your backs." ...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