print in c++
#include <iostream>
int main() {
// Step 1: Declare a variable of type integer
int number = 42;
// Step 2: Print the value of the variable using std::cout
std::cout << "The value of the number is: " << number << std::endl;
// Step 3: Return 0 to indicate successful completion of the program
return 0;
}