Final answer:
The question involves creating a simple program that adds two integers and prints the sum. An example in Python was provided that initializes two integers, calculates their sum, and prints the result.
Step-by-step explanation:
The student's question involves writing a simple computer program to perform an arithmetic operation. Specifically, the program should add two integer variables and store the sum in a third variable. The program should then print the value of the sum that's stored in the third variable.
Here is an example of how this could be executed in the Python programming language:
# Define the first two integer variables
first_number = 10
second_number = 20
# Add the numbers and store the result in a third variable
sum = first_number + second_number
# Print the value of the sum
print("The sum of the two numbers is:", sum)
This small program first sets the values for the two integer variables first_number and second_number. Then, it adds these two numbers and assigns their sum to the variable sum. Lastly, the program prints a message to the console along with the value of sum.