Answers for "java loop how to print one line instead of multiple lines"

1

how to print multiple lines in java

System.out.println("Players take turns marking a square."
+ "\nOnly squares not already marked can be picked."
+ "\nOnce a player has marked three squares in a row, he or she wins!"
+ "\nIf all squares are marked and no three squares are the same, a tied game is declared."
+ "\nHave Fun!");
Posted by: Guest on September-02-2021

Code answers related to "java loop how to print one line instead of multiple lines"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language