Tuesday, 23 September 2014

Hackerrank Solve me first

The Solution for hackerrank problem, solve me first using C Program.

SOURCE CODE:
 #include <stdio.h>  
 #include <string.h>  
 #include <math.h>  
 #include <stdlib.h>  
 int solveMeFirst(int a, int b) {  
  return a+b;  
 }  
 int main() {  
  int num1,num2;  
  scanf("%d %d",&num1,&num2);  
  int sum;   
  sum = solveMeFirst(num1,num2);  
  printf("%d",sum);  
  return 0;  
 }  


0 comments:

Post a comment