Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/COBOL/verschiedene-Autoren/Bauer F.L/   (Columbo Version 0.7©)  Datei vom 27.1.2009 mit Größe 733 B image not shown  

SSL npluseinhalb.cob

  Sprache: Cobol
 

       identification division.
       program-id. npluseinhalb.
      *  aus Pomberger, Dobler
      * Algorithmen und Datenstrukturen, p91
       author"JD".
       date-written. 3.6.2008.
       date-compiled.
       data division.
       working-storage section.
       77 x pic 9(4).
       77 k pic 9(4).
       linkage section.
       77 n   pic 9(4).
       77 r   pic 9(4).
       procedure division using n r.
      * computes something
         move 1 to x
         move 0 to k.
       label1.
       A1.
         multiply x by k.
         if x>5 then 
           go to label2
         end-if
       A2.
         add 1 to k
         go to label1. 
       label2.
          move x to r.
          display r
        end-program fak.

Messung V0.5 in Prozent
C=91 H=90 G=90

¤ Dauer der Verarbeitung: 0.12 Sekunden  (vorverarbeitet am  2026-05-03) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

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.