Using a for loop to print on multiple lines of the lcd display.

I want to make a for loop for my 23 x 4 lcd display to print a line of text 4 times. Each time on a new row.

My current code is a lot of lines, even though it does the job. I want to condense the code with a for loop. This is the code without the for loop. The challenge that I'm having is that with a for loop, I can have it print 4 times, but continuing on the same line. This makes it look messy and is unclear to read. Is their any way to have the lcd.SetCursor function increase by one each time the for loop runs, and have it end at a maximum of lcd.setCursor(0,3)?

lcd.backlight();
lcd.print("Speed: ");
lcd.print(FinalVelocity);
lcd.print("km/h");

lcd.setCursor(0,1);
lcd.backlight();
lcd.print("Speed: ");
lcd.print(FinalVelocity);
lcd.print("km/h");

lcd.setCursor(0,2);
lcd.backlight();
lcd.print("Speed: ");
lcd.print(FinalVelocity);
lcd.print("km/h");

lcd.setCursor(0,3);
lcd.backlight();
lcd.print("Speed: ");
lcd.print(FinalVelocity);
lcd.print("km/h");
 lcd.setCursor(0,whateverYourLoopVariableIsCalled);

So would it look like this?

for (int x = 0; x < 4; x++){
lcd.backlight();
lcd.print("Speed: ");
lcd.print(FinalVelocity);
lcd.print("km/h");
lcd.setCursor(0, x);


}

Well, I’d have though you want to set the cursor before printing.

Something like…

 lcd.setCursor(0, x+1);

Or you could do…

 for (int x = 1; x <= 4; x++){
  lcd.setCursor(0, x);

…assuming you aren’t using x for anything else.