mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-23 20:44:39 +08:00
Format code with prettier (#3375)
This commit is contained in:
@ -33,9 +33,10 @@ class HowManyTimesRotated {
|
||||
a[i] = sc.nextInt();
|
||||
}
|
||||
|
||||
System.out.println("The array has been rotated " + rotated(a) + " times");
|
||||
System.out.println(
|
||||
"The array has been rotated " + rotated(a) + " times"
|
||||
);
|
||||
sc.close();
|
||||
|
||||
}
|
||||
|
||||
public static int rotated(int[] a) {
|
||||
|
Reference in New Issue
Block a user