user
Develop a computer program that adds two numbers.
Response:
assistant
The program should take two integers as input and return their sum as output. It should be written in a programming language such as Python, Java, or Javascript.

// Sample code:

// Start of program
int a;
int b;
int sum;

a = input(); // read first number from the user
b = input(); // read second number from the user
sum = a + b; // calculate sum
print(sum); // print the output
// End of program