identificationdivision. program-id. prime. * aus Gödel, on formally undecidable propositions author. "JD". date-written. 11.8.2007. date-compiled. datadivision. linkagesection.
77 x pic 9(4).
77 z pic 9(4). proceduredivisionusing x returning z. * computes prime(x) move 0 to z * invariant z < x performuntil z >= x iffunction divisible(z, x) then stoprun else add 1 to z end-perform. * r = x | y if z>0 thenmove 1 to z end-program prime.
Messung V0.5
¤ Dauer der Verarbeitung: 0.12 Sekunden
(vorverarbeitet)
¤
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.