mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-26 22:14:08 +08:00
Format code with prettier (#3375)
This commit is contained in:
@ -6,7 +6,9 @@ class FloydTriangle {
|
||||
|
||||
public static void main(String[] args) {
|
||||
Scanner sc = new Scanner(System.in);
|
||||
System.out.println("Enter the number of rows which you want in your Floyd Triangle: ");
|
||||
System.out.println(
|
||||
"Enter the number of rows which you want in your Floyd Triangle: "
|
||||
);
|
||||
int r = sc.nextInt(), n = 0;
|
||||
sc.close();
|
||||
for (int i = 0; i < r; i++) {
|
||||
|
Reference in New Issue
Block a user