Skip to main content
  • 2831 Accesses

Auszug

Ein praktisches Beispiel: Sie haben ein Programm geschrieben, das aus einer mehrstelligen intZahl die Quersumme berechnet. Sie möchten die Berechnung nicht nur einmal, sondern wiederholt mit verschiedenen Zahlen nacheinander ausführen. Also muss das Programm als Schleife angelegt werden, z. B.: Das gesamte alte Programm muss als Schleifenkern eingerückt in die Schleifenkonstruktion eingebettet werden. Das ist bei längeren Programmen lästig und wird unübersichtlich!

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 29.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2006 Friedr. Vieweg & Sohn Verlag| GWV Fachverlage GmbH, Wiesbaden

About this chapter

Cite this chapter

(2006). Modularisierung von Programmen: Functions. In: Informatik für Ingenieure und Naturwissenschaftler 1. Vieweg+Teubner. https://doi.org/10.1007/978-3-8348-9033-7_10

Download citation

Publish with us

Policies and ethics