Q:

Solve Me First - Hacker Rank Solution or Solve Me First solution or Solve Me First solution in C++

0

Solve Me First - Hacker Rank Solution or Solve Me First solution or Solve Me First solution in C++

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

#include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
 
int solveMeFirst(int a, int b) 
{
 // Hint: Type return a+b; below:
   return a+b;
}
int main() 
{
  int num1, num2;
  int sum;
 
  cin>>num1>>num2;
 
  sum = solveMeFirst(num1,num2);
  cout<<sum;
  return 0;
}

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now