If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Storing strings in variables

AP.CSP: AAP‑1 (EU), AAP‑1.A.3 (EK), AAP‑1.C (LO), AAP‑1.C.3 (EK), AAP‑1.C.4 (EK)


The following variable assignments are from a store locator program.
Identify which variables store numbers and which store strings:
Variable assignmentData type?
streetNo ← 728
aptUnit ← "11"
phone ← "341-7812"
areaCode ← 315