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

Quelle  Berg-max2.cob   Sprache: Cobol

 

       Identification Division.
       Program-Id. Max2.
       Environment Division.
       Input-Output Section.
       Data Division.
       Working-Storage Section.
       77  mx  Pic S9(8).
       Linkage Section.
       77  a   Pic S9(8).
       77  b   Pic S9(8).
       Procedure Division using a, b.
         If a > b  then
           Move a to mx
         else 
           Move b to mx.
         Display "MAX(" a "," b ")=" mx.
       End-Program Max2.               

Messung
CHZG
1009910099

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

*© Formatika GbR, Deutschland