/**
 * This program demonstrates why Java ain't algebra
 *
 * @author TK Rogers
 * @version 5-15-12
 */
public class JavaAintAlgebra {
    public static void main ( String word, int num ) {
        int result ;
        // Note; the = sign does not mean equals and Java
        // ain't algebra.
        num = num + 1 ;
        result = num + 1 ;
        // Try uncommenting the code below and see if the program compiles.
        // num + 1 = result ;
        System.out.println ( "num = " + num + ", result = " + result ) ;
        // Note: in the above line the + operator does arithmatic
        // In the line below, the + operator concatinates.
        System.out.println ( word + "  " + num + num ) ;
        System.out.println ( word + "  " + num ) ;
    }
}