Advertisement
RazorBlade57

SlopeRunner

Oct 17th, 2016
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.46 KB | None | 0 0
  1.  
  2. public class SlopeRunner {
  3.  
  4.     public static void main(String[] args) {
  5.         Slope run = new Slope(1,9,14,2);
  6.         Slope run2 = new Slope(1,7,18,3);
  7.         Slope run3 = new Slope(6,4,2,2);
  8.         Slope run4 = new Slope(4,4,5,3);
  9.         Slope run5 = new Slope(1,1,2,9);
  10.        
  11.         run.equation();
  12.         run.print();
  13.        
  14.         run2.equation();
  15.         run.print();
  16.        
  17.         run3.equation();
  18.         run.print();
  19.        
  20.         run4.equation();
  21.         run.print();
  22.        
  23.         run5.equation();
  24.         run.print();
  25.  
  26.  
  27.     }
  28.  
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement