Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Cobol/verschiedene-Autoren/Nissim-Francez/   (Columbo Version 0.7©)  Datei vom 4.1.2008 mit Größe 872 B image not shown  

Quelle  francez-p48.cob   Sprache: Cobol

 
       Identification Division.
       Program-Id. francez-p48.
       Author"Nissim Francez".
      * "aus Program Verification"  
       Data Division.
       Working-Storage Section.
         77 y1   pic S9(8).
         77 y2   pic S9(8).
         77 te   pic S9(8).
       Linkage Section.
         77 x1  pic S9(8).
         77 x2  pic S9(8).
       Procedure Division using x1 x2.
        l0.
         display "start".
         move x1 to y1
         move x2 to y2
        l.
         if y1=0 then
           go to le
         else  
           if y2 >= y1 then
             subtract y1 from y2
           else
             move y1 to te
             move y2 to y1
             move te to y2
           end-if
           go to l
         end-if.
        le.
         display "halt y1=" y1 " y2=" y2
       End-Program francez-p48.

92%


¤ Dauer der Verarbeitung: 0.14 Sekunden  (vorverarbeitet)  ¤

*© 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 ist noch experimentell.