#include #include // use the sum function defined in sumfunction.c int sum(int a, int b); int main(int argc, char* argv[]) { // initialize variables to sum int a = 1; int b = 2; if (argc >= 2) a = strtol(argv[1], NULL, 10); if (argc >= 3) b = strtol(argv[2], NULL, 10); // print out the results of the sum function printf("%d + %d = %d\n", a, b, sum(a, b)); }