Question: Write a method named printLines that accepts a word as a parameter and prints the word out as many times as there are characters in
Write a method named printLines that accepts a word as a parameter and prints the word out as many times as there are characters in the word (each word on its own line).
if the word was NestedLoops, then the method woud print out NestedLoops 11 times.
(in java)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
