Assignemnt #11 and Numbers And Math

Code

    /// Name: Josh Pell
    /// Period: 6
    /// Program Name: Numbers And Math
    /// File Name: NumbersAndMath.java
    ///Date Finished: 9/11/2015
    
    public class NumbersAndMath
{
	public static void main( String[] args )
	{
		// Writes I will now count my chickens:
        System.out.println( "I will now count my chickens:" );

		// Adds 25 to 30/6 which is 5 
        System.out.println( "Hens " + ( 25 + 30 / 6 ) );
		//100 - 3
        System.out.println( "Roosters " + ( 100 - 25 * 3.4 ) );

		System.out.println( "Now I will count the eggs:" );

		//add 3+2+1-5+4%2-1/4+6
        System.out.println( 3 + 2 + 1 - 5 + 4 % 2 - 1 / 4 + 6 );

		// asks is 3+2 is less than 5-7
        System.out.println( "Is it true that 3 + 2 < 5 - 7?" );

        System.out.println( 3 + 2 < 5 - 7 );

		//Adds 3 and 2
        System.out.println( "What is 3 + 2? " + ( 3 + 2 ) );
		//subtracts 7 from 5 
        System.out.println( "What is 5 - 7? " + ( 5 - 7 ) );

		System.out.println( "Oh, that's why it's false." );

		System.out.println( "How about some more." );

		//Finds if its greater
        System.out.println( "Is it greater? " + ( 5 > -2 ) );
		System.out.println( "Is it greater or equal? " + ( 5 >= -2 ) );
		System.out.println( "Is it less or equal? " + ( 5 <= -2 ) );
	}
}
      
    

Picture of the output

Assignment 11