// PrintStuff.java
// Arup Guha
// 1/11/07
// Illustrates the use of System.out.print and println.

public class PrintStuff {
	
	public static void main(String[] args) {
		
		// Print out a poem w/ the first two phrases on one line.
		System.out.print("Roses are red,");
		System.out.println(" Violets are blue,");
		System.out.println("This poem is as good as new.");
		System.out.println();
		
		// Testing string concatenation vs. addition
		System.out.println("Hello "+"World!");
		System.out.println("Answer = "+ -7);
		System.out.println(3+4);
		System.out.println(3+4+" = 7");
		System.out.println("3+4 = "+3.5+4);
		System.out.println("3+4 = "+(3+4));
		
	}
}
