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

SSL Kowalk-p120.cbl   Sprache: Cobol

 

       identification division.
       program-id. kw120.
      * aus Kowalk - Korrekte Software
      * p. 120, 2. prog
       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
           add b to a
           compute b = 2*b + a
          end-perform
        end-program kw120.

Messung
CHZG
1009910099

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

*© Formatika GbR, Deutschland