February 2022
Beginner
848 pages
22h 40m
English
Variables help a programmer temporarily store data for a finite amount of time. Constants help a programmer define artifacts that are not allowed to change or make changes.
In this lesson, you find out
■ How to declare and define variables and constants
■ How to assign values to variables and manipulate those values
■ How to write the value of a variable to the screen
■ How to use the keywords auto and constexpr
Before you actually explore the need for and use of variables in a programming language, take a step back and first think about what a computer contains and how it works.
A computer, smart phone, or other programmable device contains ...
Read now
Unlock full access