0
/ 100.0
Write a function in Java that implements the following logic: Given a string and an int n
, return a string made of n
repetitions of the...
Write a function in Java that implements the following logic:
Given a string and an int n
, return a string made of n
repetitions of the last n
characters of the string. You may
assume that n
is between 0 and the length of the string,
inclusive.
Your feedback will appear here when you check your answer.