how to write a value in c++ code example Example: c++ cout int #include <iostream> std::cout << "Hello, World!" << std::endl;