X981: For Loop Multiples

Finish the for loop below. This method should return a string containing the first n multiples of 3 concatenated together. use a loop index that starts at 3, and add 3 to it each time the loop repeats using the for loop's update step. For example, multiplesOf3(3) returns the string "369", and multiplesOf3(5) returns the string "3691215".

Your Answer:

Reset

Practice a different Java exercise

Feedback

Your feedback will appear here when you check your answer.