/**
 * CS E-76: Building Mobile Applications
 * Section: Java Primer
 * TF: Sophie Chang
 * 
 * Sample3.java
 * Description: Control Statements and Arrays
 * Compilation: javac Sample3.java
 * Execution: java Sample3
 */

public class Sample3 
{
	public static void main (String [] args) 
	{
		String[] teams;
		teams = new String[2];
		teams[0] = "New England Patriots";
		teams[1] = "New York Giants";
		
		int[] pointsByTeam = {9, 10};
		
		int[] totalPointsPerQuarter = {9, 10, 0, 0};
		
		System.out.println("Super Bowl XLVI Score");
		for (int i = 0; i < 2; i++)
		{
			System.out.print(teams[i]+": "+pointsByTeam[i]+"\t");
		}
		System.out.println();
		
		for (int i = 0; i < totalPointsPerQuarter.length; i++)
		{
			System.out.println("Quarter "+i+": "+totalPointsPerQuarter[i]);
		}
	}
}
