Skip to main content
  • 10k Accesses

Zusammenfassung

In diesem Kapitel werden Zahlen und arithmetische Ausdrücke zum Rechnen mit Zahlen eingeführt und das Variablenkonzept verallgemeinert. Nach einer einleitenden Motivation in Abschnitt 1 werden in Abschnitt 2 die Zahlen der Hamster-Sprache vorgestellt. Die Abschnitte 3 und 4 erläutern die Definition und Nutzung von int-Variablen zur Abspeicherung von Zahlenwerten sowie die int- Zuweisung zur Manipulation von int-Variablen.

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 EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 39.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Welche der beiden Variablen welche Bewegung repräsentiert, ist abhängig davon, in welche Richtung der Hamster anfangs schaut.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Springer Fachmedien Wiesbaden

About this chapter

Cite this chapter

Boles, D. (2013). Zahlen, Variablen und Ausdrücke. In: Programmieren spielend gelernt mit dem Java-Hamster-Modell. Springer Vieweg, Wiesbaden. https://doi.org/10.1007/978-3-8348-2039-6_14

Download citation

Publish with us

Policies and ethics