Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Delphi/Bille 0.71/__history/     Datei vom 9.0.2013 mit Größe 18 kB image not shown  

Quelle  manhattan.cob   Sprache: Cobol

 

       identification division.
       program-id. manhattan.
      * aus Dirk Hoffmann,
      * Software-Qualität
      * Kapitel 4, Springer 2008
       author. "JD".
       date-written. 28.1.2009.
       date-compiled.
       data division.
       linkage section.
        77 a   pic S9(4).
        77 b   pic S9(4).
        77 y   pic S9(4).
       procedure division using a b returning y.
         if a<0 then
           move -a to a.
         if b<0 then
           move -b to b.
         add a b giving y.
        end program manhattan.

Messung
CHZG
9210010097

¤ Dauer der Verarbeitung: 0.0 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland