reason for program termination before method
<p>Trying to learn why my program terminates prematurely. Runs the gallons to liters conversion method ok but stops there. Does not run the "root" method (purpose of which is to compute square roots for number 1 to 100). I believe this is more an issue of formatting than semantics. Thank you for help.</p>

<pre><code>package gallons.to.liters;  

public class converter {                    
public static void main(String args[]) {    
    double gallons;                          
    double liters;          

    gallons = 10;
    liters = gallons * 3.7854;

    System.out.println("The number of liters in " + gallons + " gallons is " + 
            liters);
    System.out.println();

}


public static void root(String args[]) {
    double counter;
    double square;

    square = 0;
    counter = 0;

    for(square = 0; square &lt;= 100; square++); 
        square = Math.sqrt(square);
        counter++;
        System.out.println("The square root of " + counter + " is " +  
                    square);



}       
}
</code></pre>
