/* * Program to get two numbers from the user and print their sum. * * Author: B. L. Massingill */ #include int main(void) { int input1; int input2; int sum; printf("enter two numbers (integers only, and not too big!):\n"); scanf("%d", &input1); scanf("%d", &input2); sum = input1 + input2; printf("the sum of %d and %d is %d\n", input1, input2, sum); return 0; }