Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  Apt-p101.cbl

  Sprache: Cobol
 

       identification division.
       program-id. apt-p81.
      * aus Apt-Olderog - Programmverifikation
       author. Jens.
       date-written5.1.2009.
       date-compiled.
       data division.
       working-storage section.
       77 i       pic 9(4).
       77 j       pic 9(4).
       77 oddtop  pic 9(4).
       77 eventop pic 9(4).
       linkage section.
       77 n  pic 9(4).
       77 a  pic 9(4occurs 100.
       77 k  pic 9(4).
       procedure division using n a returning k.
         move 1 to i
         move 2 to j
         add 1 to n giving oddtop
         add 1 to n giving eventop
         perform S1
         perform S2
         move function min(oddtop,eventop) to k
         stop run.
        S1.
         perform until i>=oddtop
           if a(i)>0 then move i to oddtop
           else add 2 to i end-if
         end-perform.
        S2.
         perform until j>=eventop
           if a(j)>0 then move j to eventop
           else add 2 to j end-if
         end-perform.
        end-program apt-p81.

Messung V0.5 in Prozent
C=98 H=100 G=98

¤ Dauer der Verarbeitung: 0.12 Sekunden  (vorverarbeitet am  2026-06-19) ¤

*© 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.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik