HackerRank C- Solve Me First

Complete the function solveMeFirst to compute the sum of two integers

  1. #include <stdio.h>
  2. #include <string.h>
  3. #include <math.h>
  4. #include <stdlib.h>
  5. int solveMeFirst(int a, int b) {
  6. int sum=a+b;
  7. return sum;
  8. }
  9. int main() {
  10. int num1,num2;
  11. scanf("%d %d",&num1,&num2);
  12. int sum;
  13. sum = solveMeFirst(num1,num2);
  14. printf("%d",sum);
  15. return 0;
  16. }
Please click on the like button if it worked

Solution not working or have any suggestions? Please send an email to [email protected]

donate a cup of tea :)

Join Our Facebook Group

Share this solution


Codesadda.com is your home of programming solutions, tutorials, video tutorials and much more. Sign Up for our weekly newsletter to get update about new content.

Like us on Facebook | Connect with us on LinkedIn | Subscribe our Channel on Youtube