FileDocCategorySizeDatePackage
UglyTable.javaAPI DocExample377Sun Mar 28 19:09:30 BST 1999None

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);
    }