All lessons

Variables

7 min · C++

Store values in named, typed boxes called variables.

C++ · Variables0/5 cleared

Enemy 1 of 5

Every variable has a type. Text is string, whole numbers are int. Write the type, the name, =, then the value.

Then print the name with cout.

You
Cold-Start Frostling

Loading editor...

Ln 1, Col 1Spaces: 4
Sign up to fightTarget output: Ada