C++ uses cout for output. Include <iostream> header and use the std namespace.
Run this example to see how it works and then try the exercise.
Click "Run" to see the example in action...Your task: Use cout to print "Hello, World!"
Click "Run" to execute your code...Which operator is used with cout to output data?
SUMMARY
In this section, you learned how to print output to the console. Next, you’ll learn how to declare variables and work with different data types.