class If {
    public static void main(String args[]) {
        float a = 4.5f; 
        float b = -2.3f;
        float c;

	    c = a;
	    if ( a < .0f ) c *= -1.0f; 
        System.out.println("Absolute value of "+a+" = "+c);       
        
        c = b;
        if ( b < .0f ) c *= -1.0f;
        System.out.println("Absolute value of "+b+" = "+c);       
     }
} 
