// Algorithms.java
//
// ICS 22 / CSE 22 Fall 2010
// Code Example
//
// The biggest() method in this class has a bug in it, left in intentionally.
// Don't fix it just yet; first, run the tester to see what happens when the
// code has a bug in it.  Then try to fix the bug, and see if the tester
// catches other mistakes as you make changes.


public class Algorithms
{
	public static int biggest(int a, int b, int c, int d)
	{
		int max = a;
		
		if (b > max)
			max = b;
		
		if (c > max)
			max = b;
		
		if (d > max)
			max = d;
		
		return max;
	}
}
