// Arup Guha
// Code Framework to fill out to test 2010 AP CS FR Problem 2
// 4/1/2016

public class APLine {
	
	private int a;
	private int b;
	private int c;
	
	// Fill in this constructor.
	public APLine(int aVal, int bVal, int cVal) {
	}
	
	// Fill in this method - returns the slope of this line
	// You may assume it's not a vertical line.
	public double getSlope() {
	}
	
	// Fill in this method - returns true iff the point (x,y)
	// is on this APLine object.
	public boolean isOnLine(int x, int y) {

	}
	
	// Their tests are here...
	public static void main(String[] args) {
		
		APLine line1 = new APLine(5, 4, -17);
		double slope1 = line1.getSlope();
		boolean onLine1 = line1.isOnLine(5, -2);
		System.out.println("slope line 1 = "+slope1+" (5,-2) on line = "+onLine1);
		
		APLine line2 = new APLine(-25, 40, 30);
		double slope2 = line2.getSlope();
		boolean onLine2 = line2.isOnLine(5, -2);
		System.out.println("slope line 2 = "+slope2+" (5,-2) on line = "+onLine2);
		
	}
}