FileDocCategorySizeDatePackage
UglyTable.javaAPI DocExample357Wed Feb 15 07:55:18 GMT 2006None

UglyTable

public class UglyTable extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

  
    System.out.println("Degrees \tRadians \tGrads");
    for (double degrees = 0.0; degrees < 360.0; degrees++) {
      double radians = Math.PI * degrees / 180.0;
      double grads = 400 * degrees / 360;
      System.out.println(degrees + "\t" + radians + "\t" + grads);
    }