forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice hcs-strings > hcsStringsGimmeLastThreeReversed
prev  |  next  |  chance

Given a String input, return the last three characters in REVERSED order. Precondition: the input String has at least three characters.

hcsStringsGimmeLastThreeReversed("Blah") → "hal"
hcsStringsGimmeLastThreeReversed("I am not a boy") → "yob"
hcsStringsGimmeLastThreeReversed("When will you come home?") → "?em"

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

public String hcsStringsGimmeLastThreeReversed(String str) { }

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: 150 Post-solution available

Copyright Nick Parlante 2017 - privacy