@@ -0,0 +1,884 @@
+package Chapter01.Section01;%0A%0Aimport edu.princeton.cs.algs4.StdOut;%0A%0Apublic class Exercise07%0A%7B%0A    public static void main(String%5B%5D args)%0A    %7B%0A        a();%0A        b();%0A        c();%0A    %7D%0A%0A    public static void a()%0A    %7B%0A        System.out.print(%22a) %22);%0A%0A        double t = 9.0;%0A        while (Math.abs(t - 9.0/t) %3E .001)%0A            t = (9.0/t + t) / 2.0;%0A        StdOut.printf(%22%25.5f%5Cn%22, t);%0A    %7D%0A%0A    public static void b()%0A    %7B%0A        System.out.print(%22b) %22);%0A%0A        int sum = 0;%0A        for (int i = 1; i %3C 1000; i++)%0A            for (int j = 0; j %3C i; j++)%0A                sum++;%0A        StdOut.println(sum);%0A    %7D%0A%0A    public static void c()%0A    %7B%0A        System.out.print(%22c) %22);%0A%0A        int sum = 0;%0A        for (int i = 1; i %3C 1000; i *= 2)%0A            for (int j = 0; j %3C i; j++) // Corrected from %22j %3C N%22%0A                sum++;%0A        StdOut.println(sum);%0A    %7D%0A%7D%0A

Solved 1.1.7