title: Java Program to Print out the max, min, and average of three user inputted numbers
body: <p>Am I on the right track?</p>
  
  <pre><code>import java.util.*;
  
  public class Practice_8_1 {
     public static void main (String[] args) {
      Scanner input = new Scanner(System.in);
    Scanner keyboard = new Scanner(System.in);
  
    public static int max (int x, int y, int z){
    int maximum = 0;
    if (x &gt; y &amp;&amp; x &gt; z){
       return x;
       } else if (y &gt; z &amp;&amp; y &gt; x){
          return y;
         else {
          return z;
    }
  
    public static int min (int x, int y, int z){
    //code for min
    }  
    public static int average (int x, int y, int z){
    //code for average 
     } 
    }
  }
  </code></pre>
  
  <p>what exactly goes in the main method? I have to do this using methods.
  Thank you in advance.</p>