The Ruby Loop
Hi, Could anyone help me with my code??
def repeat(string, times)
fail "times must be 1 or more" if times < 1
counter = 0
counter += 1
if counter = times
Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.
I forgot my password