IdentificationDivision. Program-Id. max3. EnvironmentDivision. Input-OutputSection. DataDivision. Working-StorageSection. 78 n pic S9(8) value100. 77 i pic S9(8). 77 mx pic S9(8). LinkageSection. 77 a pic S9(8) occurs n. ProcedureDivisionusing a. move1to i move a(i) to mx. performuntil i = lengthof a if mx < a(i+1) move a(i+1) to mx end-if add1to i end-perform display"Max(a)=" mx End-Program max3.
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.10 Sekunden
(vorverarbeitet am 2026-06-11)
¤
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.