// File: TestNumber.java (Module 8) // // Author: Rahul Simha // Created: October 6, 1998 // // Illustrates unformatted numeric output. public class TestNumber { public static void main (String[] argv) { for (int i=0; i<=1000; i+=200) { int sqr = i * i; double root = Math.sqrt (i); System.out.println ("The square of " + i + " is " + sqr + " and the square root is " + root); } } }