Abstract
In this chapter we begin (section 1.1) with simple programming problems using variables, assignments and basic constructs (if- and while-statements). Then (section 1.2) we introduce arrays and programming techniques related to them. Finally (section 1.3), we consider a useful approach that helps to develop one-pass algorithms; each of the elements of the input array is processed once.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2010 Springer Science+Business Media, LLC
About this chapter
Cite this chapter
Shen, A. (2010). Variables, expressions, assignments. In: Algorithms and Programming. Springer Undergraduate Texts in Mathematics and Technology. Springer, New York, NY. https://doi.org/10.1007/978-1-4419-1748-5_1
Download citation
DOI: https://doi.org/10.1007/978-1-4419-1748-5_1
Published:
Publisher Name: Springer, New York, NY
Print ISBN: 978-1-4419-1747-8
Online ISBN: 978-1-4419-1748-5
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)