Home > Back-end >  Calculation of two integers and (C)
Calculation of two integers and (C)

Time:04-13

#include
using namespace std;
Int the sum (int a, int b);
Int main ()
{
Int A, B;
cout <"Both please input two integers:";
cin> A. & gt;> B;
cout cout return 0;
}
Int the sum (int a, int b)
{
Int sum;
Sum=a + b;
return sum;
}

CodePudding user response:

What's the problem? Didn't find any problem
  • Related