Answers

2014-04-22T07:15:35+05:30

This Is a Certified Answer

×
Certified answers contain reliable, trustworthy information vouched for by a hand-picked team of experts. Brainly has millions of high quality answers, all of them carefully moderated by our most trusted community members, but certified answers are the finest of the finest.
 #include <iostream>
#include <stdio.h>
type add(type num1, type num2);
 int main ()
{
cout << "Please enter integer 1 : ";
   int num1; cin >> num1;
 cout << "Please enter integer 2 : ";
   int num2; cin >> num2;
answer = add(num1, num2);
cout << "The sum of " << num1 << " & " << num2 << " = " << answer;
 getchar();
 return 0;
 }
  type add(type num1, type num2)
{
result = num1 + num2; return result;
 }
0