Just trying to work out why the output in the console only updates every 10 or so iterations of the loop and not consistently.
public static void main(String[] args) throws Exception
{
for(int i = 0; i <=100;i++)
{
System.out.print(i+"% complete");
Thread.sleep(500);
System.out.print("\r");
}
}
}```