public class TextBookRunner
{
	public static void main(String[] args) 
	{
		TextBook a101 = new TextBook( "A+", 49.75, 2);
		TextBook a201 = new TextBook( "A+", 39.75, 3);
		
		System.out.println( a101.getEdition() );
		System.out.println( a201.getEdition() );
		
		System.out.println( a101.getBookInfo() );
		System.out.println( a201.getBookInfo() );		
			
		System.out.println( a201.canSubstituteFor(a101) );	
		System.out.println( a101.canSubstituteFor(a201) );
		
		TextBook b101 = new TextBook( "B+", 212.212, 212);
		
		System.out.println( b101.getEdition() );
		
		System.out.println( b101.getBookInfo() );		
		
		System.out.println( b101.canSubstituteFor(a101) );	
		System.out.println( b101.canSubstituteFor(a201) );				
		
	}
}


/*
output

2
3
A+-49.75-2
A+-39.75-3
true
false
212
B+-212.212-212
false
false

*/
