C++20 sections · 1024 units
Open in Course

Section Recap

What we learned

You now understand variables and data types in C++.

1.1. Variables store data with a name and type

2.2. int for whole numbers, double for decimals, char for characters, bool for true/false

3.3. string holds text of any length

4.4. Choose the right type for your data to avoid bugs

Good job. You can now store data. Next, you will learn how to get data from users and display results with proper formatting.