Using Variables to Store Information
Using Variables to Store Information
All four of our programming languages permit us to store basic data elements. We call these primitives and they are built into each language. C++ and Java require a specific declaration for each type while Javascript and Python are more user friendly. Examples of built In types of data we might store are
Whole Numbers (Integers) Decimal (Floating Point) Numbers ASCII Characters
Strings (of ASCII Characters Boolean (True or False)