C++20 sections · 1024 units
Open in Course

Section Recap

What we learned

You now control input and output in C++.

1.1. cin reads data from the user

2.2. getline reads entire lines including spaces

3.3. cout displays output with optional formatting

4.4. Handle bad input to prevent crashes

Good job. You can now interact with users. Next, you will learn operators to perform calculations and make decisions.