I've been looking at solutions for this problem and saw that most were missing brackets, but I don't think I'm missing any. Any solutions?
Here's my code
public class runningTime{
public static void main(String[] args) {
final long start = System.currentTimeMillis();
for (int i = 1; i <= 100; i ++);
int k=1;
int n;
while (k<n) do {
int sum = 0;
int m;
for (int i = 1; i <= m; i++)
for (int j = 1; j <= n; j*=2)
k=k*5;
final long end = System.currentTimeMillis();
System.out.println();
System.out.println("\n Took: " + ((end - start)) + "ms");
}
}
}