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