Function types

Description:

Arguments passed but no return value Test Case 1 Input (stdin) 10 20 Expected Output 30 Test Case 2 Input (stdin) 29 52 Expected Output 81

Program :

#include <iostream>

using namespace std;

int main()

{

int a,b,c;

  cin>>a>>b;

  c=a+b;

  cout<<c;

return 0;

}