Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Cobol/verschiedene-Autoren/Kowalk/   (verschiedene Autoren Version 0.7©)  Datei vom 5.0.2009 mit Größe 564 B image not shown  

Impressum Kowalk-p123.cbl   Sprache: Cobol

 

       identification division.
       program-id. kw123.
      * aus Kowalk - Korrekte Software
      * p. 123
       author. Jens.
       date-written. 5.1.2009.
       date-compiled.
       data division.
       working-storage section.
       77 b      pic 9(4).
       linkage section.
       77 n      pic 9(4).
       77 a      pic 9(4).
       procedure division using n returning a.
         move 0 to a
         move 1 to b
         perform until a>n
           compute a = 2*a - b
           compute b = 0.5*a + 0.5*b
          end-perform
        end-program kw123.

Messung
CHZG
1009910099

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

*© Formatika GbR, Deutschland