title: How to fix/ learning help understanding basic method and classes, Java code and word Problem
body: <p>I'm struggling on this problem, given that I'm probably making a basic mistake or I haven't got a clue what I'm doing. </p>
  
  <p>platform being a <code>Zybook</code>
  the problem reads: 
  One lap around a standard high-school running track is exactly <code>0.25</code> miles. Write a program that takes a number of miles as input, and outputs the number of <code>laps.Output</code> each <code>floating-point</code> value with two digits after the decimal point, which can be achieved as follows:</p>
  
  <pre><code>System.out.printf("%.2f", yourValue);
  </code></pre>
  
  <p>Your program must define and call a method:
  public static double </p>
  
  <pre><code>milesToLaps(double userMiles)
  </code></pre>
  
  <p>It gives off a couple of example input 1.5 -> 6.00, 2.2 ->8.80 etc.</p>
  
  <p>it gives you a start off of:</p>
  
  <pre class="lang-java prettyprint-override"><code>import java.util.Scanner;
  
  public class LabProgram {
  
      public static void main(String[] args) {
  
      }
  }
  </code></pre>
  
  <p>Below I've edited to this point, still I don't think I know what I'm doing. However I've gotten it down to one error which states that> error: cannot find symbol <code>numMiles.printMilesToLaps(userMiles);</code>. I would like someone to tell me if I'm doing this someway maybe correctly and or if they can solve this error, cause I've completely redid the code multiple times, and I'm at the point of giving up and never submitting it. </p>
  
  <p>also sometimes I start to remove code that's supposed to be there, but at the same time doesn't make sense to the computer ex. being (return;), but maybe you can explain it in greater detail then the <code>zybook</code> or its checking system.</p>
  
  <p>The code itself looked a bit neater, but I was forced to change it after the multiple errors. </p>
  
  <pre class="lang-java prettyprint-override"><code>import java.util.Scanner;
  
  public class LabProgram {
  
      public static double MilesToLaps(double userMiles){
          Scanner scnr = new Scanner(System.in);
  
          userMiles = scnr.nextDouble();
  
          System.out.printf("%.2f", (userMiles / 0.25));
      }
  
      public static void main(String[] args) {
  
          LabProgram numMiles = new LabProgram();
  
          numMiles.printMilesToLaps(userMiles);
      }
  }
  
  </code></pre>
  
  <p>I'm getting constant cannot find symbol errors, mostly on the secondary public method. I could think I could fix this, but it wouldn't line up with the question parameters. </p>
  
  <p>I'm usually only using the example input values in the input terminal.</p>