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

Quelle  Loecks-P43.cob

  Sprache: Cobol
 

       identification division.
       program-id. lp43.
      * aus Loecks/Sieber p. 43
       author. Jens.
       date-written11.9.2005.
       date-compiled.
       data division.
       working-storage section.
       77 y1 pic 9(4).
       77 y2 pic 9(4).
       linkage section.
       77 x      pic 9(4).
       77 y3 pic 9(4).
       procedure division using x returning y3.
          move 0 to y1
          move 1 to y2 y3
       testx. 
          if y3 <= x then
            add 1 to y1
            add 2 to y2
            add y2 to y3
            go to testx
          end-if
      *  y3 is the result
        end-program lp43.

Messung V0.5 in Prozent
C=92 H=95 G=93

¤ Dauer der Verarbeitung: 0.11 Sekunden  (vorverarbeitet am  2026-06-15) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.