id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

sspiege3@schools.nyc.gov arrays2 > arrayUnitsDigits
prev  |  next  |  chance

Given an array of integers named nums, write the method arrayUnitsDigits such that it returns a String with all of the elements' units digits concatenated.


arrayUnitsDigits([12, 34, 56, 78, 90]) → "24680"
arrayUnitsDigits([123, 345, 567, 789]) → "3579"
arrayUnitsDigits([1]) → "1"

...Save, Compile, Run (ctrl-enter)

public String arrayUnitsDigits(int [] nums){ }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Difficulty: 200

Copyright Nick Parlante 2017 - privacy