Create a new text file and enter the following C code:
#include <stdio.h> int main() { int num1, num2, sum; printf("Enter two integers: "); scanf("%d %d", &num1, &num2); sum = num1 + num2; printf("Sum: %d", sum); return 0; }
This program takes two integers as input and prints their sum.