identificationdivision. program-id. fileint. * aus Wirth, systematisches Programmieren p. 71 author. "JD". date-written. 25.10.2004. date-compiled. environmentdivision. input-outputsection. file-control. select f assignto file-f status f-status. datadivision. filesection. fd f recordcontains120 characters datarecordis f-record labelrecordisomitted. 01 f-record. 05 i pic x(8). working-storagesection. 78 n pic9(4) value100. 77 a pic9(4). 77 b pic9(4). 77 f-status pic S9(4) comp. proceduredivision. * computes x / y move1to a b. openoutput f performuntil a >= n * invariant a = (b+1)**2 / 4 write f-record from a add2to b add b to a end-perform. close f end-program fileint.
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.7 Sekunden
(vorverarbeitet am 2026-06-07)
¤
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.