/*
 * File: PythagoreanTheorem.java
 * Name: 
 * Section Leader: 
 * -----------------------------
 * This file is the starter file for the PythagoreanTheorem problem.
 */

import acm.program.*;

public class IntegerDivision extends ConsoleProgram {
	
	public void run() {	
		println("Operation examples");
		
		println("1/2 = " + (1 / 2));
		println("21/5 = " + (21 / 5));
		println("8/9 = " + (8 / 9));
		println("1.0/2 = " + (1.0 / 2));
		println("1/2.0 = " + (1 / 2.0));
		println("21.0/5 = " + (21.0 / 5));
		println("7 + 2.0 = " + (7 + 2.0));
	}

	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	/**
	 * Method: Init
	 * ------------
	 * This is some special code I added so that the font in
	 * the programs is larger. You can ignore it, and you don't
	 * need an init in your programs!
	 */
	public void init() {
		// this makes the font viewable in lecture
		setFont("Courier-24");
	}

}
