Operation2.java



public class Operation2 {
    public static void main( String[] args ) {

        float x = 10/3;
        System.out.println( "x=" + x );
        float y = 10.0f/3;
        System.out.println( "y=" + y );
        double z = 10.0/3;
        System.out.println( "z=" + z );

        double w = 100.0;
        w *= 1.0e2;
        System.out.println( "w=" + w );
    }
}