All pastes #470975 Raw Edit

Untitled

public text v1 · immutable
·published 2007-05-04 17:08 UTC
rendered paste body
// The "NestedTrace" class.
import java.awt.*;
import hsa.Console;

public class NestedTrace
{
    static Console c;           // The output console

    public static void main (String[] args)
    {
        c = new Console ();
        int num = 1;
        for (int out = 1 ; out <= 5 ; out = out + 1)
        {
            for (int inn = 1 ; inn <= 5 ; inn = inn + 1)
            {
                c.print (num);
                num=num+1;
                
            }
            num=out+1;
            c.println ("");
        }

        // Place your program here.  'c' is the output console
    } // main method
} // NestedTrace class