public class StylePractice
{
    public static void printEvenNumbers(int max)
    {
        for(int i=1; i <= max; i++) // STYLE: space around = operator
        {
            if(i%2 == 0) // STYLE: space around % operator
            {
                // STYLE: print statement should be indented one level deeper
            System.out.println(i);
            }
        }
        // STYLE: print statement is indented one level too deep
            System.out.println("Done!");
    }

    public static void main(String[] args)
    // STYLE: The curly braces should be indented one level less deep
        {
        // STYLE: the code inside the main method should be indented one level less deep
        // this error occurred because of the curly brace indentation error
        
            String x=args[0]; // STYLE: space around = operator
            int y = Integer.parseInt(x);
            printEvenNumbers(y);
        }
}
