public class ArithmetischeOperatoren { 
  public static void main(String[] argv) { 
    float quotient, 
      z=12.34E5f, 
      q=-3e1f, 
      rest, wert; 
    int zaehler=13, ganz; 
    System.out.println(zaehler + " / 4 = " + zaehler/4 + " Rest = " + zaehler%4); 
    quotient = zaehler / 4; 
    System.out.println("Reeller Quotient = " + quotient + " ist ganzzahlig"); 
    quotient = zaehler / 4.0F; 
    System.out.println( "Jetzt ist das Ergebnis wirklich reell : " + quotient); 
    rest = z % q; System.out.println( "Rest fuer reelles modulo: " + rest); 
  } 
}