Maxi.java


Below is the syntax highlighted version of Maxi.java.


/***************************************************************************
 *  Compile: javac Maxi.java
 *  Execute: java Maxi 
 *           (expects input from standard input)
 *  Dependencies: StdIn.java, StdOut.java
 *
 * (Exercise 2.1.1)
 **************************************************************************/
public class Maxi {

   // return the maximum of three integers 
   public static __________ max3(___________________________________________) {




   }

   // return the maximum of three doubles
   public static __________ max3(_________________________________) {




   }

   public static void main(String[] args) {
      // Input three integers from standard input







      // Call the function max3(a, b, c) and print the result





   }
}