Abstract
By now you’re probably eager to create programs that allow your computer to really interact with the outside world. You don’t just want programs that work as glorified typewriters, displaying fixed information that you included in the program code, and indeed there’s a whole world of programming that goes beyond that. Ideally, you want to be able to enter data from the keyboard and have the program squirrel it away somewhere. This would make the program much more versatile. Your pcrogram would be able to access and manipulate these data, and it would be able to work with different data values each time you execute it. This idea of entering different information each time you run a program is what makes programming useful. A place to store an item of data that can vary in a program is not altogether surprisingly called a variable, and this is what this chapter covers.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2020 German Gonzalez-Morris and Ivor Horton
About this chapter
Cite this chapter
Gonzalez-Morris, G., Horton, I. (2020). First Steps in Programming. In: Beginning C. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-5976-4_2
Download citation
DOI: https://doi.org/10.1007/978-1-4842-5976-4_2
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-5975-7
Online ISBN: 978-1-4842-5976-4
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books