You are viewing a single comment's thread. Return to all comments →
// Function prototype int solveMeFirst(int a, int b);
int main() { int num1, num2; int sum;
// Reading input scanf("%d %d", &num1, &num2); // Function call sum = solveMeFirst(num1, num2); // Printing the result printf("%d\n", sum); return 0;
}
// Function to compute the sum of two integers int solveMeFirst(int a, int b) { return a + b; }
Seems like cookies are disabled on this browser, please enable them to open this website
Solve Me First
You are viewing a single comment's thread. Return to all comments →
include
// Function prototype int solveMeFirst(int a, int b);
int main() { int num1, num2; int sum;
}
// Function to compute the sum of two integers int solveMeFirst(int a, int b) { return a + b; }