#include <iostream>
int main() {
// Declare a variable of type int named 'num' and initialize it with the value 5
int num = 5;
// Output the value of the variable 'num' to the standard output (console)
std::cout << "The value of num is: " << num << std::endl;
// Prompt the user to enter a new value for 'num'
std::cout << "Enter a new value for num: ";
// Declare a variable of type int named 'newNum' to store the user input
int newNum;
// Read the user input and store it in the variable 'newNum'
std::cin >> newNum;
// Output the updated value of 'newNum' to the standard output
std::cout << "Updated value of newNum is: " << newNum << std::endl;
// Return 0 to indicate successful program execution
return 0;
}