about | help | code help+videos | done | prefs |
element11
Write a method named element11 that uses toArray() to covert the String parameter s to a two-dimensional array of int. Then return the element at row 1 and column 1. You must cut and paste method toArray() from the Hint. This problem is practice for using toArray(), since most of the following problems use it. element11("{{1,3},{5,7}}") → 7 element11("{{2,5},{1,4}}") → 4 element11("{{1,2,3},{2,1,4},{3,4,1}}") → 1 ...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: 300 Post-solution available
Copyright Nick Parlante 2017 - privacy