Write your question here.
I have just started learning C++ .This is my first function ,I am not sure what i am doing wrong that i am getting wrong answer.Please help!!!
#include <iostream>
#include <string>
#include <sstream>
usingnamespace std;
int addition()
{
int a;
int b;
int c;
int d;
a=8;
b=10;
c = 10;
d =a+b+c;
return d;
}
int main ()
{
cout << addition;
}